Add configuration entities to Tuya Vacuum (sd) (#59936)

This commit is contained in:
cvroque 2021-11-23 22:15:49 -03:00 committed by GitHub
parent 4c3163196e
commit 4555f52e50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 0 deletions

View file

@ -271,6 +271,7 @@ class DPCode(str, Enum):
SWITCH_BACKLIGHT = "switch_backlight" # Backlight switch
SWITCH_CHARGE = "switch_charge"
SWITCH_CONTROLLER = "switch_controller"
SWITCH_DISTURB = "switch_disturb"
SWITCH_HORIZONTAL = "switch_horizontal" # Horizontal swing flap switch
SWITCH_LED = "switch_led" # Switch
SWITCH_LED_1 = "switch_led_1"
@ -304,6 +305,8 @@ class DPCode(str, Enum):
VA_TEMPERATURE = "va_temperature"
VOC_STATE = "voc_state"
VOC_VALUE = "voc_value"
VOICE_SWITCH = "voice_switch"
VOLUME_SET = "volume_set"
WARM = "warm" # Heat preservation
WARM_TIME = "warm_time" # Heat preservation time
WATER_RESET = "water_reset" # Resetting of water usage days