]> git.basschouten.com Git - openhab-addons.git/commitdiff
Add support for SpotMow status code (#13065)
authorJacob Laursen <jacob-github@vindvejr.dk>
Sat, 2 Jul 2022 13:23:23 +0000 (15:23 +0200)
committerGitHub <noreply@github.com>
Sat, 2 Jul 2022 13:23:23 +0000 (15:23 +0200)
Fixes #13033

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
bundles/org.openhab.binding.boschindego/README.md
bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/DeviceStatus.java
bundles/org.openhab.binding.boschindego/src/main/resources/OH-INF/i18n/boschindego.properties
bundles/org.openhab.binding.boschindego/src/main/resources/OH-INF/thing/thing-types.xml

index c4578670b7735b8f0ce2b42cb3ad7a9578679187..37c66a925755178172e62196f7b0cb09919852b5 100644 (file)
@@ -54,6 +54,7 @@ Currently the binding supports  ***indego***  mowers as a thing type with these
 | 517   | Paused                                      |
 | 518   | Border cut                                  |
 | 519   | Idle in lawn                                |
+| 523   | SpotMow                                     |
 | 769   | Returning to dock                           |
 | 770   | Returning to dock                           |
 | 771   | Returning to dock - Battery low             |
index 7adf332e9dce86f7b1ed89ddb5371efdaa414c63..fbba18e2d850682d7d8ab3172fb5ff615f6472a7 100644 (file)
@@ -49,6 +49,7 @@ public class DeviceStatus {
             entry(517, new DeviceStatus("paused", true, DeviceCommand.PAUSE)),
             entry(518, new DeviceStatus("border-cut", false, DeviceCommand.MOW)),
             entry(519, new DeviceStatus("idle-in-lawn", true, DeviceCommand.MOW)),
+            entry(523, new DeviceStatus("spotmow", false, DeviceCommand.MOW)),
             entry(769, new DeviceStatus("returning-to-dock", false, DeviceCommand.RETURN)),
             entry(770, new DeviceStatus("returning-to-dock", false, DeviceCommand.RETURN)),
             entry(771, new DeviceStatus("returning-to-dock-battery-low", false, DeviceCommand.RETURN)),
index 0cdf3ef844d4ec686411a6dd23d5d0659315e62a..0d79b191f21e8c11f9c09510b400269bf47d6cca 100644 (file)
@@ -73,6 +73,7 @@ indego.state.learning-lawn = Learning lawn
 indego.state.paused = Paused
 indego.state.border-cut = Border cut
 indego.state.idle-in-lawn = Idle in lawn
+indego.state.spotmow = SpotMow
 indego.state.returning-to-dock = Returning to Dock
 indego.state.returning-to-dock-battery-low = Returning to Dock - Battery low
 indego.state.returning-to-dock-calendar-timeslot-ended = Calendar timeslot ended
index 7e108f0b4bb0e3133cb66cf78def6d7c76b42c64..29da1879e2b6f3638215a44229e726d68b5568e0 100644 (file)
@@ -86,6 +86,7 @@
                                <option value="517">@text/indego.state.paused</option>
                                <option value="518">@text/indego.state.border-cut</option>
                                <option value="519">@text/indego.state.idle-in-lawn</option>
+                               <option value="523">@text/indego.state.spotmow</option>
                                <option value="769">@text/indego.state.returning-to-dock</option>
                                <option value="770">@text/indego.state.returning-to-dock</option>
                                <option value="771">@text/indego.state.returning-to-dock-battery-low</option>