Move Screenlogic lights to the light platform (#55467)
Co-authored-by: Kevin Worrel <37058192+dieselrabbit@users.noreply.github.com>
This commit is contained in:
parent
18ce799f74
commit
20c35e6032
9 changed files with 107 additions and 59 deletions
|
@ -1,5 +1,5 @@
|
|||
"""Constants for the ScreenLogic integration."""
|
||||
from screenlogicpy.const import COLOR_MODE
|
||||
from screenlogicpy.const import CIRCUIT_FUNCTION, COLOR_MODE
|
||||
|
||||
from homeassistant.util import slugify
|
||||
|
||||
|
@ -13,4 +13,6 @@ SUPPORTED_COLOR_MODES = {
|
|||
slugify(name): num for num, name in COLOR_MODE.NAME_FOR_NUM.items()
|
||||
}
|
||||
|
||||
LIGHT_CIRCUIT_FUNCTIONS = {CIRCUIT_FUNCTION.INTELLIBRITE, CIRCUIT_FUNCTION.LIGHT}
|
||||
|
||||
DISCOVERED_GATEWAYS = "_discovered_gateways"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue