@daave wrote:
I copied this example directly form the documentation…
condition: condition: and # 'when light' condition: before sunset and after sunrise - equivalent to a state condition on `sun.sun` of `above_horizon` conditions: - condition: sun before: sunset - condition: sun after: sunrise
…but am receiving the error…
Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->condition->1->conditions->0->after. (See /config/configuration.yaml, line 92). Please check the docs at https://home-assistant.io/integrations/automation/"
What am I doing wrong?
Thanks!
Posts: 8
Participants: 3