Fix SPC (#17236)
This commit is contained in:
1 parent
6671cbb96d
commit
3a6eac216c
3 files changed
+6
-2
No files matched your search
@@ -63,11 +63,11 @@ async def async_setup(hass, config):
|
||||
|
||||
# add sensor devices for each zone (typically motion/fire/door sensors)
|
||||
hass.async_create_task(discovery.async_load_platform(
|
||||
hass, 'binary_sensor', DOMAIN))
|
||||
hass, 'binary_sensor', DOMAIN, {}))
|
||||
|
||||
# create a separate alarm panel for each area
|
||||
hass.async_create_task(discovery.async_load_platform(
|
||||
hass, 'alarm_control_panel', DOMAIN))
|
||||
hass, 'alarm_control_panel', DOMAIN, {}))
|
||||
|
||||
# start listening for incoming events over websocket
|
||||
spc.start()
|
||||
|
||||
Reference in new issue
Block a user