Automation Config

I updated to 0.48.1 today and went through and tried to update my Zwave Entity ID’s but now I am getting an error on my automation. I can’t really tell if I mistakenly changed something or if something else has been changed in the update. This is the error I am getting though.

2017-07-05 15:31:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data[‘condition’][0][‘at’]. Got None
not a valid value for dictionary value @ data[‘condition’][0][‘condition’]. Got None
required key not provided @ data[‘condition’][0][‘entity_id’]. Got None. (See /home/mgranger/.homeassistant/configuration.yaml, line 42). Please check the docs at https://home-assistant.io/components/automation/
2017-07-05 15:31:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->platform. (See /home/mgranger/.homeassistant/configuration.yaml, line 42). Please check the docs at https://home-assistant.io/components/automation/
2017-07-05 15:31:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->platform. (See /home/mgranger/.homeassistant/configuration.yaml, line 42). Please check the docs at https://home-assistant.io/components/automation/
2017-07-05 15:31:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->platform. (See /home/mgranger/.homeassistant/configuration.yaml, line 42). Please check the docs at https://home-assistant.io/components/automation/

There is very little information as to what is wrong so I am having trouble troubleshooting. On line [43] in my config here is what I have:

automation: !include_dir_merge_list automation

What did you recently change? Are you creating a automation or updating one? From the looks of the error log you have either improper formatting or are using a option where it is not accepted.

I went through my automations and changed the ZWave entity IDs to match the new format but then I also updated the triggers where they said ‘after’ to ‘at’. Is there any way to tell where the error is at? I have split my automations up into separate files. I am getting this error even when I comment all the automations files out so that none of them should load.

You should have a look at the hass --script command from an ssh session into the
The following should work if you installed the hasbian image and possibly the AIO installer
/srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant/ --script check_config -i automation
You will likely see red error messages fly past
Either pipe it through more or redirect it to a file and look through the results.

Ok I figured it out. I had a file in the folder that wasn’t supposed to be there and a condition in one of the automation had at rather than after. Seems like a silly mistake but I was stumped. Thanks for the help