Use platform enum (6) [S] (#60944)
This commit is contained in:
parent
ffb4b4df96
commit
f7193400d4
36 changed files with 146 additions and 81 deletions
|
@ -1,10 +1,7 @@
|
|||
"""Constants for the sia integration."""
|
||||
from homeassistant.components.alarm_control_panel import (
|
||||
DOMAIN as ALARM_CONTROL_PANEL_DOMAIN,
|
||||
)
|
||||
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN
|
||||
from homeassistant.const import Platform
|
||||
|
||||
PLATFORMS = [ALARM_CONTROL_PANEL_DOMAIN, BINARY_SENSOR_DOMAIN]
|
||||
PLATFORMS = [Platform.ALARM_CONTROL_PANEL, Platform.BINARY_SENSOR]
|
||||
|
||||
DOMAIN = "sia"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue