Hey guys, can you figure out why this automation doens’t work??
automation 2:
alias: Turn on if home
trigger:
platform: state
entity_id: device_tracker.jesperphone_kanten_av_vintergatan_7
from: 'away'
to: 'home'
action:
- service: light.turn_on
entity_id: group.all_lights
error:
Testing configuration at /config
2018-02-19 00:41:54 ERROR (SyncWorker_0) [homeassistant.util.yaml] while parsing a block mapping
in “/config/configuration.yaml”, line 219, column 3
expected , but found ‘’
in “/config/configuration.yaml”, line 225, column 4
2018-02-19 00:41:54 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: while parsing a block mapping
in “/config/configuration.yaml”, line 219, column 3
expected , but found ‘’
in “/config/configuration.yaml”, line 225, column 4