Hi there. I have the following automation in my automations.yaml file:
- id: lights
alias: Turn all the lights off when the front door flic is pressed
trigger:
- event_data:
button_name: flic_80e4da741f01
click_type: single
event_type: flic_click
platform: event
action:
service: light.turn_off
entity_id:
- light.kitchen__dining_room
- light.bedroom
- light.living_room
HA is recognising the flic being clicked, but it’s not actually doing anything - it should simply turn those three lights off. When I try and edit the customisation via the UI, the page just doesn’t load fully.
My log is showing:
mapping values are not allowed here
in "/home/homeassistant/.homeassistant/automations.yaml", line 11, column 16
Any advice troubleshooting this would be hugely appreciated. Thanks.