Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save glebsterx/c77dcf0e997921c97d8e1e967cbf779c to your computer and use it in GitHub Desktop.
Save glebsterx/c77dcf0e997921c97d8e1e967cbf779c to your computer and use it in GitHub Desktop.
yandex_smart_home:
filter:
include_entities:
- switch.hiper_iot_purifier_ion_mini_v1
entity_config:
switch.hiper_iot_purifier_ion_mini_v1:
name: Очиститель
type: devices.types.purifier
modes:
fan_speed:
low: [Low]
medium: [Mid]
high: [High]
custom_modes:
fan_speed:
state_entity_id: select.hiper_iot_purifier_ion_mini_v1_speed
set_mode:
service: select.select_option
entity_id: select.hiper_iot_purifier_ion_mini_v1_speed
data:
option: '{{ mode }}'
custom_toggles:
backlight:
state_entity_id: select.hiper_iot_purifier_ion_mini_v1_backlight
turn_on:
service: select.select_option
entity_id: select.hiper_iot_purifier_ion_mini_v1_backlight
data:
option: 'High'
turn_off:
service: select.select_option
entity_id: select.hiper_iot_purifier_ion_mini_v1_backlight
data:
option: 'Off'
ionization:
state_entity_id: switch.hiper_iot_purifier_ion_mini_v1_ionization
turn_on:
service: switch.turn_on
entity_id: switch.hiper_iot_purifier_ion_mini_v1_ionization
turn_off:
service: switch.turn_off
entity_id: switch.hiper_iot_purifier_ion_mini_v1_ionization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment