Skip to content

Commit

Permalink
Add support for SpotMow status code (openhab#13065)
Browse files Browse the repository at this point in the history
Fixes openhab#13033

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur authored and nemerdaud committed Feb 28, 2023
1 parent 7ff03a6 commit 56b1b7a
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 @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 56b1b7a

Please sign in to comment.