Fix style issues
This commit is contained in:
parent
83d83a09b5
commit
b459a29947
2 changed files with 22 additions and 23 deletions
|
@ -51,8 +51,8 @@ def setup(hass, config):
|
|||
# Setup scripts
|
||||
bootstrap.setup_component(
|
||||
hass, 'script',
|
||||
{'script':
|
||||
{'demo': {
|
||||
{'script': {
|
||||
'demo': {
|
||||
'alias': 'Demo {}'.format(lights[0]),
|
||||
'sequence': [{
|
||||
'execute_service': 'light.turn_off',
|
||||
|
@ -85,8 +85,7 @@ def setup(hass, config):
|
|||
switches[0]: True,
|
||||
switches[1]: False,
|
||||
}},
|
||||
]
|
||||
})
|
||||
]})
|
||||
|
||||
# Setup fake device tracker
|
||||
hass.states.set("device_tracker.paulus", "home",
|
||||
|
|
|
@ -169,7 +169,7 @@ def load_order_components(components):
|
|||
|
||||
# Push recorder to first place in load order
|
||||
if 'recorder' in load_order:
|
||||
load_order.promote('recorder'.DOMAIN)
|
||||
load_order.promote('recorder')
|
||||
|
||||
return load_order
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue