mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[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:
parent
195a37e36e
commit
a2e0d23297
@ -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 |
|
||||
|
@ -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)),
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user