[boschindego] Add another status code for returning to dock (#13335)

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

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-08-30 16:45:30 +02:00 committed by GitHub
parent 195a37e36e
commit a2e0d23297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -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 |

View File

@ -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)),

View File

@ -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>