Invalid config after upgrade to 0.86.0 :(

dailed to load components after upgrade …

Setup failed for ios: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of ios. Setup failed for dependencies: device_tracker

1:17 PM setup.py (ERROR)

Setup failed for fan: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of fan. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Setup failed for cover: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of cover. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Setup failed for switch: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of switch. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Setup failed for script: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of script. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Setup failed for device_tracker: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of device_tracker. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Setup failed for light: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of light. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Setup failed for automation: Could not set up all dependencies.

1:17 PM setup.py (ERROR)

Unable to set up dependencies of automation. Setup failed for dependencies: group

1:17 PM setup.py (ERROR)

Can’t retrieve weather data from Yahoo!

1:17 PM components/sensor/yweather.py (CRITICAL)

Fetch no weather data Yahoo!

1:17 PM components/sensor/yweather.py (ERROR)

Setup failed for group: Invalid config.

1:17 PM setup.py (ERROR)

Invalid config for [group]: Entity ID sensor._battery_level is an invalid entity id for dictionary value @ data[‘group’][‘dev_phones’][‘entities’]. Got [‘sensor.iphone5s_battery_level’, ‘sensor.iphone5s_battery_state’, ‘sensor._battery_level’, ‘sensor._battery_state’, ‘sensor.home_iphone_5s_battery_level’, ‘sensor.home_iphone_5s_battery_state’, ‘sensor.iphone_nino_battery_level’, ‘sensor.iphone_nino_battery_state’]. (See /config/configuration.yaml, line 591). Please check the docs at Group - Home Assistant

1:17 PM config.py (ERROR)

Invalid config for [automation]: [minutes] is an invalid option for [automation]. Check: automation->trigger->0->minutes. (See /config/configuration.yaml, line 590). Please check the docs at Automation - Home Assistant

1:17 PM config.py (ERROR)

ress the button to load the full Home Assistant log.

2019-01-24 13:17:37 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don’t require it, remove the ‘api_password’ from your http config. 2019-01-24 13:17:42 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [minutes] is an invalid option for [automation]. Check: automation->trigger->0->minutes. (See /config/configuration.yaml, line 590). Please check the docs at Automation - Home Assistant 2019-01-24 13:17:46 ERROR (MainThread) [homeassistant.config] Invalid config for [group]: Entity ID sensor._battery_level is an invalid entity id for dictionary value @ data[‘group’][‘dev_phones’][‘entities’]. Got [‘sensor.iphone5s_battery_level’, ‘sensor.iphone5s_battery_state’, ‘sensor._battery_level’, ‘sensor._battery_state’, ‘sensor.home_iphone_5s_battery_level’, ‘sensor.home_iphone_5s_battery_state’, ‘sensor.iphone_nino_battery_level’, ‘sensor.iphone_nino_battery_state’]. (See /config/configuration.yaml, line 591). Please check the docs at Group - Home Assistant 2019-01-24 13:17:46 ERROR (MainThread) [homeassistant.setup] Setup failed for group: Invalid config. 2019-01-24 13:17:48 ERROR (SyncWorker_18) [yahooweather] Fetch no weather data Yahoo! 2019-01-24 13:17:48 CRITICAL (SyncWorker_18) [homeassistant.components.sensor.yweather] Can’t retrieve weather data from Yahoo! 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of automation. Setup failed for dependencies: group 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Setup failed for automation: Could not set up all dependencies. 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of light. Setup failed for dependencies: group 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Setup failed for light: Could not set up all dependencies. 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of device_tracker. Setup failed for dependencies: group 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Setup failed for device_tracker: Could not set up all dependencies. 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of script. Setup failed for dependencies: group 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Setup failed for script: Could not set up all dependencies. 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of switch. Setup failed for dependencies: group 2019-01-24 13:17:48 ERROR (MainThread) [homeassistant.setup] Setup failed for switch: Could not set up all dependencies. 2019-01-24 13:17:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cover. Setup failed for dependencies: group 2019-01-24 13:17:49 ERROR (MainThread) [homeassistant.setup] Setup failed for cover: Could not set up all dependencies. 2019-01-24 13:17:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of fan. Setup failed for dependencies: group 2019-01-24 13:17:49 ERROR (MainThread) [homeassistant.setup] Setup failed for fan: Could not set up all dependencies. 2019-01-24 13:17:50 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of ios. Setup failed for dependencies: device_tracker 2019-01-24 13:17:50 ERROR (MainThread) [homeassistant.setup] Setup failed for ios: Could not set up all dependencies.

after deleting all groups an automations it loads…
with this erors:

You have exceeded the device limit, which might cause issues. Consider using the filter option.

1:38 PM components/homekit/init.py (WARNING)

Setup of platform flux_led is taking over 10 seconds.

1:38 PM util/async_.py (WARNING)

Can’t retrieve weather data from Yahoo!

1:38 PM components/sensor/yweather.py (CRITICAL)

Fetch no weather data Yahoo!

1:38 PM components/sensor/yweather.py (ERROR)

Database is about to upgrade. Schema version: None

1:38 PM components/recorder/migration.py (WARNING)

what have changed that all my groups and automations become ivalid ?

Same here, except that in only get a message complaining about invalid automations:

> Invalid config for [automation]: [minutes] is an invalid option for [automation]. Check: automation->trigger->1->minutes. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/

I have removed all automations except one, which does not contain any minutes. I did notice the breaking change on time vs time_pattern, but I don’t think this is relevant to this issue…

Found it!
Of course I also had to check the packages!
I’m using @NotoriousBDG’s battery notification, which a number of automations with time triggers. I’ll have to update those, or wait for Notorious to do his thing :slight_smile:

and what about groups ?

I don’t see any breaking changes related to groups. Are you using any packages?

Packages

automation: !include automations.yaml
group: !include groups.yaml
script: !include scripts.yaml

only this

It‘s a breaking change. If there is hours, minutes or seconds in your „Time“ trigger you need to change the trigger to „time_pattern“

Same problem. I’ve changed as You suggested but still have lots of errors, and my UI looks like Sandro posted in first post. Also automations didn’t loaded after change to time_pattern but I guess its due to errors below.

2019-01-24 16:51:43 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of switch. Setup failed for dependencies: group
2019-01-24 16:51:44 ERROR (MainThread) [homeassistant.setup] Setup failed for switch: Could not set up all dependencies.
2019-01-24 16:51:44 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cover. Setup failed for dependencies: group
2019-01-24 16:51:44 ERROR (MainThread) [homeassistant.setup] Setup failed for cover: Could not set up all dependencies.
2019-01-24 16:51:44 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of lock. Setup failed for dependencies: group
2019-01-24 16:51:44 ERROR (MainThread) [homeassistant.setup] Setup failed for lock: Could not set up all dependencies.

Mine was broke because of this line
group: !include groups.yaml

The old front end is is gone /state just bring up all your entities.
Which stinks because was using the group definition for automations.

You still can and I still do. Just make sure there’s no invalid entity id’s or group names. It still works fine.

Yes, that was it I had a invalid entity, that was not giving an error before the upgrade

Oh, I’m lost here. I’ve disabled whole groups just to make sure everything loads correctly. So I have almost everything loaded (sonos speaker missing) even automations but have lots of errors regarding some automations as well which ware working for months.Only thing I changed is time to time_pattern when I have time in format hh:mm:ss.
Don’t know how to debug this now, Leave groups disabled, revert time_pattern to time again and see if something change, or correct somehow this what now is broken. Or just rever everything and downgrade to 84.6 which was previous working version before going to 0.86.1.

2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['conditions'][1]['after']. Got None
extra keys not allowed @ data['condition'][0]['conditions'][1]['before']. Got None
not a valid value for dictionary value @ data['condition'][0]['conditions'][1]['condition']. Got None
required key not provided @ data['condition'][0]['conditions'][1]['entity_id']. Got None. (See /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['after']. Got None
extra keys not allowed @ data['condition'][0]['before']. 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 /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['after']. Got None
extra keys not allowed @ data['condition'][0]['before']. 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 /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['after']. Got None
extra keys not allowed @ data['condition'][0]['before']. 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 /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['after']. Got None
extra keys not allowed @ data['condition'][0]['before']. 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 /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['after']. Got None
extra keys not allowed @ data['condition'][0]['before']. 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 /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['conditions'][1]['after']. Got None
not a valid value for dictionary value @ data['condition'][0]['conditions'][1]['condition']. Got None
required key not provided @ data['condition'][0]['conditions'][1]['entity_id']. Got None. (See /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['conditions'][1]['after']. Got None
extra keys not allowed @ data['condition'][0]['conditions'][1]['before']. Got None
not a valid value for dictionary value @ data['condition'][0]['conditions'][1]['condition']. Got None
required key not provided @ data['condition'][0]['conditions'][1]['entity_id']. Got None. (See /root/.homeassistant/configuration.yaml, line 177). Please check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/
2019-01-25 13:48:33 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [at] is an invalid option for [automation]. Check: automation->trigger->0->at. (See /root/.homeassistant/configuration.yaml, line 177). Please
 check the docs at https://home-assistant.io/components/automation/

Reverting to time instead of time_pattern and leaving groups disabled loaded everything without error, but SONOS is still missing. So I guess I have to review all my groups now, then somehow make SONOS to appear again.