Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
parent
e0cb33a0a1
commit
40b99135e5
42 changed files with 165 additions and 132 deletions
|
@ -8,9 +8,18 @@ from homeassistant.const import (
|
|||
TEMP_CELSIUS,
|
||||
TEMP_FAHRENHEIT,
|
||||
TEMP_KELVIN,
|
||||
Platform,
|
||||
)
|
||||
|
||||
PLATFORMS = ["binary_sensor", "climate", "cover", "light", "scene", "sensor", "switch"]
|
||||
PLATFORMS = [
|
||||
Platform.BINARY_SENSOR,
|
||||
Platform.CLIMATE,
|
||||
Platform.COVER,
|
||||
Platform.LIGHT,
|
||||
Platform.SCENE,
|
||||
Platform.SENSOR,
|
||||
Platform.SWITCH,
|
||||
]
|
||||
|
||||
DOMAIN = "lcn"
|
||||
DATA_LCN = "lcn"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue