Invalid config for [automation]: required key not provided @ data['action']. Got None
required key not provided @ data['trigger']. Got None. (See /config/configuration.yaml, line 55). Please check the docs at https://home-assistant.io/components/automation/
Invalid config for [automation]: required key not provided @ data['action'][0]['delay']. Got None. (See /config/configuration.yaml, line 55). Please check the docs at https://home-assistant.io/components/automation/
It’s not this automation that is causing you a problem - the error message mentions a delay: paramater, which does not feature in the automation in the OP.
I have been trying to firgure this out for the last 3 days why it wasn’t working. I am new to HASS and thought if i can’t figure this out then don’t go further. I copied mine from a youtube video and i have just realised that i needed to add a space infron of Name so the N lined up with the A in Data_template.
Hello, i make it alf working, all the “armed” stuf change the theme.
But the disarmed mod don’t change anything:
Can anyone help meplease ? i am completely stuck for 1week.
I came up with something of this type but it don’t works
alias: Switch day / night theme
description: Change the theme depending on the position of the sun
trigger:
- platform: state
entity_id: sun.sun
condition: []
action:
- choose:
- conditions:
- condition: sun
before: sunrise
after: sunset
sequence:
- service: frontend.set_theme
data:
name: BlueNight
- conditions:
- condition: sun
before: sunset
after: sunrise
sequence:
- service: frontend.set_theme
data:
name: ais
default: []
mode: single