I am trying to make my Home Assistant green using this in my automation.yaml:
automation:
- alias: 'Set theme at startup'
initial_state: 'on'
trigger:
- platform: homeassistant
event: start
action:
service: frontend.set_theme
data:
name: green
I am getting the error
The following components and platforms could not be set up:
automationPlease check your config
What is wrong?