From: Christian Jonak-Möchel Date: Sat, 22 Apr 2023 19:52:16 +0000 (+0200) Subject: [robonect] improve jobType config (#14868) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=705f6e84eedfc96b56c9ec4727b7df5b4ebadbab;p=openhab-addons.git [robonect] improve jobType config (#14868) * Add allowed pattern to description * Increase allowed duration to 12h - thats what the web gui allows Signed-off-by: Christian Jonak-Möchel --- diff --git a/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/config/config.xml index 9905cf2c66..06620f9da3 100644 --- a/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/config/config.xml +++ b/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/config/config.xml @@ -6,19 +6,32 @@ https://openhab.org/schemas/config-description-1.0.0.xsd"> - + The location to start the mowing job from. + + + + + + - + time The duration of the job. 0 + - + The Mode to put the mower into after the job is done. + + + + + + diff --git a/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/i18n/robonect.properties b/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/i18n/robonect.properties index 533ba3abd1..0c482600c8 100644 --- a/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/i18n/robonect.properties +++ b/bundles/org.openhab.binding.robonect/src/main/resources/OH-INF/i18n/robonect.properties @@ -89,7 +89,13 @@ channel-type.robonect.versionType.label = Robonect Version channel-type.config.robonect.jobType.afterMode.label = After Job Mode channel-type.config.robonect.jobType.afterMode.description = The Mode to put the mower into after the job is done. +channel-type.config.robonect.jobType.afterMode.option.AUTO = Auto +channel-type.config.robonect.jobType.afterMode.option.HOME = Home +channel-type.config.robonect.jobType.afterMode.option.EOD = End of day channel-type.config.robonect.jobType.duration.label = Job Duration channel-type.config.robonect.jobType.duration.description = The duration of the job. channel-type.config.robonect.jobType.remoteStart.label = Remote Start channel-type.config.robonect.jobType.remoteStart.description = The location to start the mowing job from. +channel-type.config.robonect.jobType.remoteStart.option.STANDARD = Standard +channel-type.config.robonect.jobType.remoteStart.option.REMOTE_1 = Remote 1 +channel-type.config.robonect.jobType.remoteStart.option.REMOTE_2 = Remote 2