I have a lot of the following errors for some of my automations and can’t figure out what is causing it. The errors are as descriptive as i would like since they don’t specify the actual automations that are at fault. I’m aware of the triggers with state and time. I looked through my frontend to see which automations didn’t load so I was able to narrow some down.
Can someone help shed some light?
error:
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:44:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:44:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:44:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:44:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:46:41 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:46:41 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:46:41 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:46:41 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:46:41 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['to']. Got None
extra keys not allowed @ data['trigger'][0]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
2017-07-31 11:46:43 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
example automation which didn’t load, but I can’t figure out what the issue is. The trigger used to have state: ‘off’, but i changed it to to: ‘off’ according to the docs but no luck:
alias: Turn off lights when stac last to leave
trigger:
- platform: state
entity_id: input_boolean.stac_home
to: 'off'
condition:
- condition: state
entity_id: input_boolean.vince_home
state: 'off'
action:
service: scene.turn_on
entity_id: scene.lights_off