Im getting an error in my automations.yaml, Im pretty sure its my spacing, but I cant seem to figure it out.
- alias: Outside light after dark with Jen home.
initial_state: True
hide_entity: False
trigger:
- platform: sun
event: sunset <- this is the line 6 colume 14 is the :
- condition:
condition: state
entity_id: device_tracker.jen_cell
state: 'home'
- action:
service: light.turn_on
data:
entity_id: switch.outside_light_deck_switch
homeassistant hass[5138]: in “/home/homeassistant/.homeassistant/automations.yaml”, line 6, column 14#033[0m
Aug 22 08:43:46 homeassistant hass[5138]: #033[31m2017-08-22 08:43:46 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: mapping values are not allowed here