Hello everyone I wanted to do a test to add my first automation in the automations.yaml that is included in configuration.yaml but it gives me errors in home assistant logs:
2019-06-27 14:13:06 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [automation] is an invalid option for [automation]. Check: automation->automation. (See /config/automations.yaml, line 1). Please check the docs at https://home-assistant.io/components/automation/
the automation is pretty simple and is that Ive wrote a ton of automations to be added in the file but since I wanted to test I wrote that but in the default windows notepad If you see something please tell me :
automation:
- alias: 'Cinema Lights on'
trigger:
- platform: time
at: '14:00:00'
action:
service: switch.turn_on
entity_id: switch.sonoff_100019ec22