Skip to content

Commit

Permalink
Update const.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lasry1 authored May 6, 2023
1 parent 72179c1 commit 81906ae
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions custom_components/tuya/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,38 @@
]


class TuyaDeviceClass(StrEnum):
"""Tuya specific device classes, used for translations."""

AIR_QUALITY = "tuya__air_quality"
CURTAIN_MODE = "tuya__curtain_mode"
CURTAIN_MOTOR_MODE = "tuya__curtain_motor_mode"
BASIC_ANTI_FLICKR = "tuya__basic_anti_flickr"
BASIC_NIGHTVISION = "tuya__basic_nightvision"
COUNTDOWN = "tuya__countdown"
DECIBEL_SENSITIVITY = "tuya__decibel_sensitivity"
FAN_ANGLE = "tuya__fan_angle"
FINGERBOT_MODE = "tuya__fingerbot_mode"
HUMIDIFIER_SPRAY_MODE = "tuya__humidifier_spray_mode"
HUMIDIFIER_LEVEL = "tuya__humidifier_level"
HUMIDIFIER_MOODLIGHTING = "tuya__humidifier_moodlighting"
IPC_WORK_MODE = "tuya__ipc_work_mode"
LED_TYPE = "tuya__led_type"
LIGHT_MODE = "tuya__light_mode"
MOTION_SENSITIVITY = "tuya__motion_sensitivity"
RECORD_MODE = "tuya__record_mode"
RELAY_STATUS = "tuya__relay_status"
SMART_WEATHER = "tuya__smart_weather"
STATUS = "tuya__status"
VACUUM_CISTERN = "tuya__vacuum_cistern"
VACUUM_COLLECTION = "tuya__vacuum_collection"
VACUUM_MODE = "tuya__vacuum_mode"
WEATHER_DELAY = "tuya__weather_delay"
WORK_STATE = "tuya__work_state"




class WorkMode(StrEnum):
"""Work modes."""

Expand Down

0 comments on commit 81906ae

Please sign in to comment.