Confused on groups (or lack of) in 0.107

I’m looking for some guidance on how to group devices in 0.107. I currently have DMX lights grouped using the below entries in my configuration file. However, I hastily clicked the upgrade button before making it down to the breaking changes, and now my groups are not working.

I am assuming it is related to this, but honestly, I do not quite understand what this means for my application. Any help would be appreciated. It’s getting dark, and my landscape lights are all bright white :unamused:

0.107 Breaking Changes:

Groups - Groups are NOT being removed, but the configuration options, services, and service options related to the (previously deprecated and now removed) States UI are now removed in this release. This includes:

  • The view and control configuration options for a group.
  • The group.set_visibility service call
  • The control , visible , view options on the group.set service call

Please ensure your configuration and automations do not use these anymore. - (@frenck - #32021) (group docs)

configuration.yaml where my groups are defined:

########################################################################
# DMX Light Groups 
########################################################################
  - platform: group
    name: Front Porch Column Lights
    entities:
      - light.fp_column_lev_1_post_1_south
      - light.fp_column_lev_1_post_2
      - light.fp_column_lev_1_post_3
      - light.fp_column_lev_1_post_4_north
      - light.fp_column_lev_2_post_1_south
      - light.fp_column_lev_2_post_2_north
      - light.fp_column_lev_3_post_1_south
      - light.fp_column_lev_3_post_2_north

  - platform: group
    name: Front Porch Column Lights - Half Group 1
    entities:
#      - light.fp_column_lev_1_post_1_south
      - light.fp_column_lev_1_post_2
#      - light.fp_column_lev_1_post_3
      - light.fp_column_lev_1_post_4_north
#      - light.fp_column_lev_2_post_1_south
      - light.fp_column_lev_2_post_2_north
      - light.fp_column_lev_3_post_1_south
#      - light.fp_column_lev_3_post_2_north
  
  - platform: group
    name: Front Porch Column Lights - Half Group 2
    entities:
      - light.fp_column_lev_1_post_1_south
#      - light.fp_column_lev_1_post_2
      - light.fp_column_lev_1_post_3
#      - light.fp_column_lev_1_post_4_north
      - light.fp_column_lev_2_post_1_south
#      - light.fp_column_lev_2_post_2_north
#      - light.fp_column_lev_3_post_1_south
#      - light.fp_column_lev_3_post_2_north

  - platform: group
    name: Front Porch Downlights (Cans)
    entities:
      - light.fp_downlight_can_1_south
      - light.fp_downlight_can_2
      - light.fp_downlight_can_3_middle
      - light.fp_downlight_can_4
      - light.fp_downlight_can_5_north

  - platform: group
    name: Front Porch Downlights (Cans) - Half Group 1
    entities:
#      - light.fp_downlight_can_1_south
      - light.fp_downlight_can_2
#      - light.fp_downlight_can_3_middle
      - light.fp_downlight_can_4
#      - light.fp_downlight_can_5_north

  - platform: group
    name: Front Porch Downlights (Cans) - Half Group 2
    entities:
      - light.fp_downlight_can_1_south
#      - light.fp_downlight_can_2
      - light.fp_downlight_can_3_middle
#      - light.fp_downlight_can_4
      - light.fp_downlight_can_5_north

  - platform: group
    name: Landscape - Small Tree Uplights
    entities:
      - light.ls_tree_uplight_front_aspen_1_east
      - light.ls_tree_uplight_front_aspen_2_west
      - light.ls_tree_uplight_side_small_tree_1_east
      - light.ls_tree_uplight_side_small_tree_2_west

  - platform: group
    name: Landscape - Small Tree Uplights - Half Group 1
    entities:
#      - light.ls_tree_uplight_front_aspen_1_east
      - light.ls_tree_uplight_front_aspen_2_west
      - light.ls_tree_uplight_side_small_tree_1_east
#      - light.ls_tree_uplight_side_small_tree_2_west

  - platform: group
    name: Landscape - Small Tree Uplights  - Half Group 2
    entities:
      - light.ls_tree_uplight_front_aspen_1_east
#      - light.ls_tree_uplight_front_aspen_2_west
#      - light.ls_tree_uplight_side_small_tree_1_east
      - light.ls_tree_uplight_side_small_tree_2_west


  - platform: group
    name: Landscape - Pond Lights 
    entities:
      - light.pd_pond_waterfall
      - light.pd_pond_east
      - light.pd_pond_west

  - platform: group
    name: Landscape - Pond Lights - Half Group 1
    entities:
      - light.pd_pond_waterfall
#      - light.pd_pond_east
      - light.pd_pond_west

  - platform: group
    name: Landscape - Pond Lights - Half Group 2
    entities:
#      - light.pd_pond_waterfall
      - light.pd_pond_east
#      - light.pd_pond_west

# Special Groups
  - platform: group
    name: DMX Lights Group 1
    entities:
#      - light.fp_column_lev_1_post_1_south
      - light.fp_column_lev_1_post_2
#      - light.fp_column_lev_1_post_3
      - light.fp_column_lev_1_post_4_north
#      - light.fp_column_lev_2_post_1_south
      - light.fp_column_lev_2_post_2_north
      - light.fp_column_lev_3_post_1_south
#      - light.fp_column_lev_3_post_2_north
      - light.fp_downlight_can_1_south
#      - light.fp_downlight_can_2
      - light.fp_downlight_can_3_middle
#      - light.fp_downlight_can_4
      - light.fp_downlight_can_5_north
      - light.ls_tree_uplight_front_aspen_1_east
#      - light.ls_tree_uplight_front_aspen_2_west
      - light.ls_tree_uplight_side_small_tree_1_east
#      - light.ls_tree_uplight_side_small_tree_2_west
#      - light.ls_tree_uplight_large_front_tree
      - light.pd_pond_waterfall
#      - light.pd_pond_east
      - light.pd_pond_west

  - platform: group
    name: DMX Lights Group 2
    entities:
      - light.fp_column_lev_1_post_1_south
#      - light.fp_column_lev_1_post_2
      - light.fp_column_lev_1_post_3
#      - light.fp_column_lev_1_post_4_north
      - light.fp_column_lev_2_post_1_south
#      - light.fp_column_lev_2_post_2_north
#      - light.fp_column_lev_3_post_1_south
      - light.fp_column_lev_3_post_2_north
#      - light.fp_downlight_can_1_south
      - light.fp_downlight_can_2
#      - light.fp_downlight_can_3_middle
      - light.fp_downlight_can_4
#      - light.fp_downlight_can_5_north
#      - light.ls_tree_uplight_front_aspen_1_east
      - light.ls_tree_uplight_front_aspen_2_west
#      - light.ls_tree_uplight_side_small_tree_1_east
      - light.ls_tree_uplight_side_small_tree_2_west
      - light.ls_tree_uplight_large_front_tree
#      - light.pd_pond_waterfall
      - light.pd_pond_east
#      - light.pd_pond_west

  - platform: group
    name: All DMX Lights
    entities:
      - light.front_porch_column_lights
      - light.front_porch_downlights_cans
      - light.landscape_small_tree_uplights
      - light.landscape_pond_lights
      - light.ls_tree_uplight_large_front_tree

Those are light groups, nothing to do with groups.

They are all showing as unavailable now and I am getting the following configuration errors:
Screen Shot 2020-03-18 at 7.22.14 PM

The only change was the update to 0.107 from the latest version of 0.106

What’s the error message?

I think I figured it out… I still had a reference to one old group: that I had previously built in my configuration. When I removed that entry and reloaded, everything came back up.

1 Like

How did you solve the issue?
After upgrading I got the same error message that group and group.light could not be set up.
Then I removed all the “view” variables from groups, restarted HASSIO and I did not get the error.
Now all my light groups are shown, but most of them are shown as “not available”. But some of them are still available.

the configuration is the same:

  - platform: group
    name: Wohnzimmer Decke 1
    entities:
      - light.wohnzimmer_decke_11
      - light.wohnzimmer_decke_12
      - light.wohnzimmer_decke_13
      - light.wohnzimmer_decke_14

  - platform: group
    name: Wohnzimmer Decke 2
    entities:
      - light.wohnzimmer_decke_21
      - light.wohnzimmer_decke_22
      - light.wohnzimmer_decke_23
      - light.wohnzimmer_decke_24

  - platform: group
    name: Wohnzimmer Decke
    entities:
      - light.wohnzimmer_decke_1
      - light.wohnzimmer_decke_2

  - platform: group
    name: Felicia Decke
    entities:
      - light.felicia_decke_1
      - light.felicia_decke_2
      - light.felicia_decke_3

  - platform: group
    name: Rebecca Decke
    entities:
      - light.rebecca_decke_1
      - light.rebecca_decke_2
      - light.rebecca_decke_3


  - platform: group
    name: Flur Decke
    entities:
      - light.flur_decke_1
      - light.flur_decke_2

  - platform: group
    name: Schlafzimmer Decke
    entities:
      - light.schlafzimmer_decke_1
      - light.schlafzimmer_decke_2
      - light.schlafzimmer_decke_3
  - platform: group
    name: Dachgeschoss Decke
    entities:
      - light.dachgeschoss_decke_1
      - light.dachgeschoss_decke_2
      - light.dachgeschoss_decke_3

I think my family “hard switched off” the light because it did not work via HASSIO, and therefore the WLAN lamps of these groups are not accessible.

I should perhaps better not connect the switches and lamps via HASSIO, but via the MI HOME App. This should be more stable.

how can you reload groups? there is not an option on the server controls menu. or the only way is to fully restart?

it didnt show up until i enabled

“groups:”

in configuration.yaml