Skip to content

Commit

Permalink
feat: force update on command, and switch to using start/pause command
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeFoodPixels committed Mar 8, 2024
1 parent 55ef025 commit 475126c
Show file tree
Hide file tree
Showing 37 changed files with 58 additions and 50 deletions.
13 changes: 10 additions & 3 deletions custom_components/robovac/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,34 +399,39 @@ async def async_locate(self, **kwargs):
await self.vacuum.async_set({code: False})
else:
await self.vacuum.async_set({code: True})
asyncio.create_task(self.async_forced_update())

async def async_return_to_base(self, **kwargs):
"""Set the vacuum cleaner to return to the dock."""
_LOGGER.info("Return home Pressed")
await self.vacuum.async_set(
{self._tuya_command_codes[RobovacCommand.RETURN_HOME]: True}
)
asyncio.create_task(self.async_forced_update())

async def async_start(self, **kwargs):
self._attr_mode = "auto"
await self.vacuum.async_set(
{self._tuya_command_codes[RobovacCommand.MODE]: self.mode}
{self._tuya_command_codes[RobovacCommand.START_PAUSE]: True}
)
asyncio.create_task(self.async_forced_update())

async def async_pause(self, **kwargs):
await self.vacuum.async_set(
{self._tuya_command_codes[RobovacCommand.PAUSE]: False}
{self._tuya_command_codes[RobovacCommand.START_PAUSE]: False}
)
asyncio.create_task(self.async_forced_update())

async def async_stop(self, **kwargs):
await self.async_return_to_base()
asyncio.create_task(self.async_forced_update())

async def async_clean_spot(self, **kwargs):
"""Perform a spot clean-up."""
_LOGGER.info("Spot Clean Pressed")
await self.vacuum.async_set(
{self._tuya_command_codes[RobovacCommand.MODE]: "Spot"}
)
asyncio.create_task(self.async_forced_update())

async def async_set_fan_speed(self, fan_speed, **kwargs):
"""Set fan speed."""
Expand All @@ -438,6 +443,7 @@ async def async_set_fan_speed(self, fan_speed, **kwargs):
]
}
)
asyncio.create_task(self.async_forced_update())

async def async_send_command(
self, command: str, params: dict | list | None = None, **kwargs
Expand Down Expand Up @@ -480,6 +486,7 @@ async def async_send_command(
base64_str = base64.b64encode(json_str.encode("utf8")).decode("utf8")
_LOGGER.info("roomClean call %s", json_str)
await self.vacuum.async_set({"124": base64_str})
asyncio.create_task(self.async_forced_update())

async def async_will_remove_from_hass(self):
await self.vacuum.async_disable()
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T1250.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T1250:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2103.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2103:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2103:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2117.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2117:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2117:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2118.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2118:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2118:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2119.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2119:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2119:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2120.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2120:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2120:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2123.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2123:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2123:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2128.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2128:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2128:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2130.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2130:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2130:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/robovac/vacuums/T2132.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2132:
)
robovac_features = RoboVacEntityFeature.EDGE | RoboVacEntityFeature.SMALL_ROOM
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand All @@ -30,7 +30,7 @@ class T2132:
RobovacCommand.RETURN_HOME: 101,
RobovacCommand.FAN_SPEED: {
"code": 102,
"values": ["No_Suction","Standard","Boost_IQ","Max"],
"values": ["No_suction","Standard","Boost_IQ","Max"],
},
RobovacCommand.LOCATE: 103,
RobovacCommand.BATTERY: 104,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2150.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2150:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2181.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2181:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2182.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2182:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2190.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2190:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2192.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2192:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2193.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2193:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2194.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2194:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2250.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2250:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2251.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2251:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2252.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2252:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2253.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2253:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2254.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2254:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2255.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2255:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2256.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2256:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2257.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2257:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2258.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2258:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2259.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class T2259:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robovac/vacuums/T2261.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class T2261:
)
robovac_features = RoboVacEntityFeature.CLEANING_TIME | RoboVacEntityFeature.CLEANING_AREA | RoboVacEntityFeature.DO_NOT_DISTURB | RoboVacEntityFeature.AUTO_RETURN | RoboVacEntityFeature.ROOM | RoboVacEntityFeature.ZONE | RoboVacEntityFeature.BOOST_IQ | RoboVacEntityFeature.MAP | RoboVacEntityFeature.CONSUMABLES
commands = {
RobovacCommand.PAUSE: 2,
RobovacCommand.START_PAUSE: 2,
RobovacCommand.DIRECTION: {
"code": 3,
"values": ["forward", "back", "left", "right"],
Expand Down
Loading

0 comments on commit 475126c

Please sign in to comment.