Skip to content

Commit

Permalink
[boschindego] Add support for random mowing status code (openhab#15135)
Browse files Browse the repository at this point in the history
* Add Bosch Indego 'Mowing randomly' state code 524

Signed-off-by: Tom Laermans <[email protected]>
Signed-off-by: Jørgen Austvik <[email protected]>
  • Loading branch information
sid3windr authored and austvik committed Mar 27, 2024
1 parent 783f7aa commit 7ecd222
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bundles/org.openhab.binding.boschindego/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
<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>
Expand Down

0 comments on commit 7ecd222

Please sign in to comment.