36 lines
779 B
Python
36 lines
779 B
Python
from enum import IntEnum, StrEnum
|
|
|
|
|
|
class RoboVacEntityFeature(IntEnum):
|
|
"""Supported features of the RoboVac entity."""
|
|
|
|
EDGE = 1
|
|
SMALL_ROOM = 2
|
|
CLEANING_TIME = 4
|
|
CLEANING_AREA = 8
|
|
DO_NOT_DISTURB = 16
|
|
AUTO_RETURN = 32
|
|
CONSUMABLES = 64
|
|
ROOM = 128
|
|
ZONE = 256
|
|
MAP = 512
|
|
BOOST_IQ = 1024
|
|
|
|
|
|
class RobovacCommand(StrEnum):
|
|
PAUSE = "pause"
|
|
DIRECTION = "direction"
|
|
MODE = "mode"
|
|
STATUS = "status"
|
|
RETURN_HOME = "return_home"
|
|
FAN_SPEED = "fan_speed"
|
|
LOCATE = "locate"
|
|
BATTERY = "battery"
|
|
ERROR = "error"
|
|
CLEANING_AREA = "cleaning_area"
|
|
CLEANING_TIME = "cleaning_time"
|
|
AUTO_RETURN = "auto_return"
|
|
DO_NOT_DISTURB = "do_not_disturb"
|
|
BOOST_IQ = "boost_iq"
|
|
CONSUMABLES = "consumables"
|