getting the following error
homeassistant.bootstrap: Invalid config for [automation]: expected a dictionary @ data[‘condition’][0]. Got None
extra keys not allowed @ data[‘after’]. Got {}
extra keys not allowed @ data[‘before’]. Got {}
extra keys not allowed @ data[‘weekday’]. Got {}.
I have 2 config files with these settings
config 1:
-
alias: TravelGSMAgrifirm
trigger:- platform: numeric_state
entity_id: sensor.agrifirm
above: 18
condition: time
after: ‘08:00:00’
before: ‘08:30:00’
weekday: - mon
- tue
- wed
-
fri
action:
service: notify.GSM_Martin
data_template:
message: ‘Reistijd naar agrifirm is {{ states.sensor.agrifirm.state }}’
Config 2:
- platform: numeric_state
-
alias: AnkeThuis
trigger:- platform: state
entity_id: device_tracker.anke
state: home
condition: time
weekday: - mon
- tue
- wed
fri
action:
service: notify.GSM_Martin
data_template:
message: “Anke is thuis”
- platform: state
Forum is messing up the spaces in the beginning