Skip to content

Commit

Permalink
Add ventilation_mode and new instance modes
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Jun 23, 2024
1 parent 028eaae commit 0ec462a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions custom_components/yandex_smart_home/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@
MODE_INSTANCE_SWING = 'swing'
MODE_INSTANCE_TEA_MODE = 'tea_mode'
MODE_INSTANCE_THERMOSTAT = 'thermostat'
MODE_INSTANCE_VENTILATION_MODE = 'ventilation_mode'
MODE_INSTANCE_WORK_SPEED = 'work_speed'
MODE_INSTANCES = (
MODE_INSTANCE_CLEANUP_MODE,
Expand All @@ -313,6 +314,7 @@
MODE_INSTANCE_SWING,
MODE_INSTANCE_TEA_MODE,
MODE_INSTANCE_THERMOSTAT,
MODE_INSTANCE_VENTILATION_MODE,
MODE_INSTANCE_WORK_SPEED,
)

Expand Down Expand Up @@ -415,6 +417,9 @@
)

# https://yandex.ru/dev/dialogs/smart-home/doc/concepts/mode-instance-modes.html
MODE_INSTANCE_MODE_WET_CLEANING = 'wet_cleaning'
MODE_INSTANCE_MODE_DRY_CLEANING = 'dry_cleaning'
MODE_INSTANCE_MODE_MIXED_CLEANING = 'mixed_cleaning'
MODE_INSTANCE_MODE_AUTO = 'auto'
MODE_INSTANCE_MODE_ECO = 'eco'
MODE_INSTANCE_MODE_SMART = 'smart'
Expand All @@ -437,6 +442,8 @@
MODE_INSTANCE_MODE_HORIZONTAL = 'horizontal'
MODE_INSTANCE_MODE_STATIONARY = 'stationary'
MODE_INSTANCE_MODE_VERTICAL = 'vertical'
MODE_INSTANCE_MODE_SUPPLY_AIR = 'supply_air'
MODE_INSTANCE_MODE_EXTRACTION_AIR = 'extraction_air'
MODE_INSTANCE_MODE_ONE = 'one'
MODE_INSTANCE_MODE_TWO = 'two'
MODE_INSTANCE_MODE_THREE = 'three'
Expand Down Expand Up @@ -490,6 +497,9 @@
MODE_INSTANCE_MODE_YOGURT = 'yogurt'

MODE_INSTANCE_MODES = (
MODE_INSTANCE_MODE_WET_CLEANING,
MODE_INSTANCE_MODE_DRY_CLEANING,
MODE_INSTANCE_MODE_MIXED_CLEANING,
MODE_INSTANCE_MODE_AUTO,
MODE_INSTANCE_MODE_ECO,
MODE_INSTANCE_MODE_SMART,
Expand All @@ -512,6 +522,8 @@
MODE_INSTANCE_MODE_HORIZONTAL,
MODE_INSTANCE_MODE_STATIONARY,
MODE_INSTANCE_MODE_VERTICAL,
MODE_INSTANCE_MODE_SUPPLY_AIR,
MODE_INSTANCE_MODE_EXTRACTION_AIR,
MODE_INSTANCE_MODE_ONE,
MODE_INSTANCE_MODE_TWO,
MODE_INSTANCE_MODE_THREE,
Expand Down

0 comments on commit 0ec462a

Please sign in to comment.