Skip to content

Commit

Permalink
[boschindego] Add another status code for returning to dock (openhab#…
Browse files Browse the repository at this point in the history
…13335)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
  • Loading branch information
jlaur authored and andrasU committed Nov 12, 2022
1 parent a94b28a commit a73674c
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -60,6 +60,7 @@ Currently the binding supports ***indego*** mowers as a thing type with these
| 518 | Border cut |
| 519 | Idle in lawn |
| 523 | SpotMow |
| 768 | Returning to dock |
| 769 | Returning to dock |
| 770 | Returning to dock |
| 771 | Returning to dock - Battery low |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ 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(768,
new DeviceStatus("returning-to-dock", EnumSet.of(DeviceStateAttribute.ACTIVE),
DeviceCommand.RETURN)),
entry(769,
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 @@ -93,6 +93,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="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>
<option value="771">@text/indego.state.returning-to-dock-battery-low</option>
Expand Down

0 comments on commit a73674c

Please sign in to comment.