mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Add alarm component to demo component
This commit is contained in:
parent
716376081d
commit
49de153ecf
@ -63,6 +63,14 @@ def setup(hass, config):
|
|||||||
'still_image_url': 'http://home-assistant.io/demo/webcam.jpg',
|
'still_image_url': 'http://home-assistant.io/demo/webcam.jpg',
|
||||||
}})
|
}})
|
||||||
|
|
||||||
|
# Setup alarm_control_panel
|
||||||
|
bootstrap.setup_component(
|
||||||
|
hass, 'alarm_control_panel',
|
||||||
|
{'alarm_control_panel': {
|
||||||
|
'platform': 'manual',
|
||||||
|
'name': 'Test Alarm',
|
||||||
|
}})
|
||||||
|
|
||||||
# Setup scripts
|
# Setup scripts
|
||||||
bootstrap.setup_component(
|
bootstrap.setup_component(
|
||||||
hass, 'script',
|
hass, 'script',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user