Skip to content

Commit

Permalink
Add new light types
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed May 15, 2024
1 parent 8be8e3d commit 4036c99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/yandex_smart_home/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
# https://yandex.ru/dev/dialogs/smart-home/doc/concepts/device-types.html
PREFIX_TYPES = 'devices.types.'
TYPE_LIGHT = PREFIX_TYPES + 'light'
TYPE_LIGHT_STRIP = TYPE_LIGHT + '.strip'
TYPE_LIGHT_CEILING = TYPE_LIGHT + '.ceiling'
TYPE_SOCKET = PREFIX_TYPES + 'socket'
TYPE_SWITCH = PREFIX_TYPES + 'switch'
TYPE_THERMOSTAT = PREFIX_TYPES + 'thermostat'
Expand Down Expand Up @@ -142,6 +144,8 @@
TYPE_OTHER = PREFIX_TYPES + 'other'
TYPES = (
TYPE_LIGHT,
TYPE_LIGHT_STRIP,
TYPE_LIGHT_CEILING,
TYPE_SOCKET,
TYPE_SWITCH,
TYPE_THERMOSTAT,
Expand Down

0 comments on commit 4036c99

Please # to comment.