Hi All,
I start new automation when I do a configuration validate everything is ok.
When I do a reload of automations I get a error. I can’t find out why. When its working ill add all kind of lights to turn off and after 23:30:00 turn them off. (thats the idea) but first this must work …
2020-10-05 14:22:26 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [event] is an invalid option for [automation]. Check: automation->event. (See /config/configuration.yaml, line 22).
###########################################################################################
# SCENE HOLIDAY
###########################################################################################
- alias: "Scene - Emulate Holiday"
trigger:
- platform: state
event: sun.sun
- platform: time
at: "23:30:00"
condition:
- condition: state
entity_id: switch.vacation
state: "on"
action:
- choose:
- conditions:
- condition: state
entity_id: sun.sun
state: "below_horizon"
sequence:
- service: script.pushover_engine
data:
message: "Enjoy your holiday, the emulate holiday scene is activated"
priority: 2
sound: pushover
title: "HA Notify Engine"
- conditions:
- condition: time
after: "23:30:00"
sequence:
- service: script.pushover_engine
data:
message: "Enjoy your holiday, the emulate holiday scene is deactivated"
priority: 0
sound: pushover
title: "HA Notify Engine"