Core: Reload groups looses all_* auto groups

Created on 28 Jan 2018  路  21Comments  路  Source: home-assistant/core

Home Assistant release (hass --version):
0.62.0

Python release (python3 --version):
using hassio so should be 3.6

Component/platform:
groups

Description of problem:
Reload Groups from the UI causes groups like all_lights, all_plants etc to disappear.

Expected:
all_* groups survive the Reload Groups action.

Most helpful comment

Still an issue in the new 0.63

All 21 comments

I started experiencing the same issue when upgraded from 0.59 to 0.61. My groups disappeared from the UI. A degrade? Also automation stop having affect on the group on/off.

does not work in 0.61. no error in logs

group.yaml
all_lights:
name: All House Lights
entities:
- switch.bedroom_light
- switch.garage_light
- switch.living_room_light

automation.yaml
.....

  • service: homeassistant.turn_off
    entity_id: group.all_lights

Same issue here in 0.62.0

Same here with hass 0.62.0 and python 3.5.3. Restarting hass brings the all_* groups back until reloaded via GUI again.

After upgrade the Groups don't show on startpage and when I try to use the Groups in automation nothing happens. No error when I check if the configuration is valid.

I can confirm that all_* groups don't survive a "Reload groups" but there is another issue with this: if you have overloaded a default all_* group such as all_lights, it doesn't work straight after a restart of HASS but it does after a "Reload groups".

While working in this issue, please make sure the all_* groups are overridable or add a _default suffix. I override the all_lights to add some light switches which otherwise are put in the all_switches, I know I can use any other name but this is just not convenient at all.

+1
group.all_* also disappear from the Dev Tools/states tab until restart.
HA raises error:

2018-02-06 17:17:14 ERROR (MainThread) [frontend.js.latest.201801300] http://192.168.xxx.xxx:8123/frontend_latest/core-41bb07102212e1ea8b6668370a877b92.js:1:6880 TypeError: t is undefined

on "Reload groups".

Still an issue in the new 0.63

Still an issue with 0.63.2

I have this issue as well, 0.63.2 running on hass.io.

Still an issue on 0.63.3.

I have this problem (groups.all_* goes missing after reload from config frontend UI section, but also...
I can't get these groups to appear in the UI ever. Is this a related issue?

@lindsaymarkward, look at the default groups section here: https://home-assistant.io/components/group/
The default groups are hidden by default so you need to add a line to your customization to make them individually visible.

I also can confirm I'm still having the issue with the groups being lost in 0.63.3

Thanks @kipwittchen - I have tried to do that but they won't stick. Other customisations do, but not unticking "Hide from UI" and saving.

@lindsaymarkward , thats a problem with the GUI Customizer.
If you untick it, the hidden: false gets deleted from customize.yaml.
You have to edit it by hand.

Can also confirm, just upgraded to 0.64.0 and have this issue having my group.all_devices disappear after reloading groups in the configuration panel.

This should now be fixed in 0.65.

I've just upgraded to 0.65.1 and it works like a charm :+1:

Yep! Works now, but errors in the log persists on reload groups.

2018-03-18 17:34:08 ERROR (MainThread) [frontend.js.latest.201803100] http://192.168.xxx.xxx:8123/frontend_latest/core-79cea8ece91ee5a5dc48f1a8b89b5d1e.js:1:6976 TypeError: t is undefined

Just for info.

I can confirm that.
I just didn't know the error was from the groups reloading.

Looks like a frontend issue. Please open an issue in the frontend repo, home-assistant-polymer.

Just upgraded to 66.1 and now have these same errors.
https://xxxxxxxx.duckdns.org/frontend_latest/core-79cea8ece91ee5a5dc48f1a8b89b5d1e.js:1:6976 TypeError: t is undefined
What could it be?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

moskovskiy82 picture moskovskiy82  路  3Comments

coolriku picture coolriku  路  3Comments

kirichkov picture kirichkov  路  3Comments

arangates picture arangates  路  3Comments

bdraco picture bdraco  路  3Comments