notoriousbdg / Home-AssistantConfig

Apache License 2.0
180 stars 49 forks source link

Config errors #17

Closed andrkaz closed 5 years ago

andrkaz commented 5 years ago

Home assistant version 0.88.1.

Invalid config for [automation]: required key not provided @ data['action']. Got None required key not provided @ data['trigger']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/

How repair it?

Beduir commented 5 years ago

I had such problem. I downloaded the file again. Maybe the file was damaged. It is necessary to use the "Raw" button.

andrkaz commented 5 years ago

I try to downlodad again, also try create empty file and copy/paste code - nothing happens, errors

andrkaz commented 5 years ago

I found bug. In "configuration.yaml" I dont comment this line: automation: !include automations.yaml After commenting this with "#" all work

notoriousbdg commented 5 years ago

Home Assistant doesn't like an empty automations.yaml when using a package that has automations in it. Adding an automation to automations.yaml is another way to workaround the issue.