]> git.basschouten.com Git - openhab-addons.git/commitdiff
[boschindego] Add support for random mowing status code (#15135)
authorTom Laermans <tom.laermans@powersource.cx>
Sun, 25 Jun 2023 15:08:35 +0000 (17:08 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Jun 2023 15:08:35 +0000 (17:08 +0200)
* Add Bosch Indego 'Mowing randomly' state code 524

Signed-off-by: Tom Laermans <tom.laermans@powersource.cx>
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 95e617acd0f559681c8e848eb736f57612a68768..78a1cde287f923072dc1b604aca551b86394e545 100644 (file)
@@ -80,6 +80,7 @@ To authorize, please follow these steps:
 | 518   | Border cut                                  |
 | 519   | Idle in lawn                                |
 | 523   | SpotMow                                     |
+| 524   | Mowing randomly                             |
 | 768   | Returning to dock                           |
 | 769   | Returning to dock                           |
 | 770   | Returning to dock                           |
index 2550af311da44a610c6873144a86072089d59a78..f8ace9c5744d497f9e980fa15a6ae7ac4be2af7c 100644 (file)
@@ -65,6 +65,7 @@ public class DeviceStatus {
             entry(519,
                     new DeviceStatus("idle-in-lawn", EnumSet.of(DeviceStateAttribute.READY_TO_MOW), DeviceCommand.MOW)),
             entry(523, new DeviceStatus("spotmow", EnumSet.of(DeviceStateAttribute.ACTIVE), DeviceCommand.MOW)),
+            entry(524, new DeviceStatus("mowing-randomly", EnumSet.of(DeviceStateAttribute.ACTIVE), DeviceCommand.MOW)),
             entry(768,
                     new DeviceStatus("returning-to-dock", EnumSet.of(DeviceStateAttribute.ACTIVE),
                             DeviceCommand.RETURN)),
index 079403e7a9bc37be1cd196504e0e5e0439475b73..97e25ac1114b9f3d419943b0a7fb2fd357d179c9 100644 (file)
@@ -78,6 +78,7 @@ indego.state.paused = Paused
 indego.state.border-cut = Border cut
 indego.state.idle-in-lawn = Idle in lawn
 indego.state.spotmow = SpotMow
+indego.state.mowing-randomly = Mowing randomly
 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 2fc4705ede2a1a9f0e598882df91033eb77fcb4e..c5e58304735d2deda7ff28d7081dff23834bd9a4 100644 (file)
                                <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="524">@text/indego.state.mowing-randomly</option>
                                <option value="768">@text/indego.state.returning-to-dock</option>
                                <option value="769">@text/indego.state.returning-to-dock</option>
                                <option value="770">@text/indego.state.returning-to-dock</option>