Light groups not working in 107? How to group multiple lights?

For example a chandelier with 3 bulbs, how to make it a single light in 107? Thanks

is this below now wrong?


light:
  - platform: group
    name: Hallway
    entities:
      - light.hallway_right
      - light.hallway_left

2020-03-19 09:56:37 ERROR (MainThread) [homeassistant.config] Invalid config for [group]: [view] is an invalid option for [group]. Check: group->group->temporali->view. (See ?, line ?). Please check the docs at https://www.home-assistant.io/integrations/group
2020-03-19 09:56:37 ERROR (MainThread) [homeassistant.setup] Setup failed for group: Invalid config.
2020-03-19 09:56:38 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform group.light: Unable to set up component.
2020-03-19 09:56:38 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for pl

in a package I had the

view:

inside a group, removing it solved the issue

1 Like

Had the same issue. After cleaning my group.yaml file light.groups are working again.

I upgraded from 106.x to 107.7 today and suddenly my light groups also stopped working.
I don’t see anything wrong in my config, what am I missing?

light:
  - platform: limitlessled
    bridges:
    - host: !secret limitlessled_host
      version: 4
      port: 8899
      groups: 
      - number: 1 
        name: Living Room
      - number: 2
        name: Diner Table
      - number: 3
        name: Hall way
  - platform: group
    name: Livingroom Table
    entities:
      - light.table_l
      - light.table_c
      - light.table_r
  - platform: group
    name: Bedroom All
    entities:
      - light.bedroom
      - light.bedroom_lightstrip
  - platform: group
    name: Livingroom All
    entities:
      - light.living_room
      - light.livingroom_lamp
      - light.livingroom_ceiling
      - light.livingroom_window
      - light.livingroom_lightstrip
      - light.table_l
      - light.table_c
      - light.table_r

Same thing happened to me.

Thanks mate, the error posted by the server checking, was pointing me at my configuration.yaml file to fix the ‘group’ entry. It would be nice to know that it was the groups.yaml file with the “view = yes” line causing the issue. Especially since the line has been there for well over a year now, until I upgraded 30 minutes ago!

I hashed out the view lines on every entry…Again, thank YOU!

1 Like

Agreed the log should be made to help more

I did exactly the same and still do not have working light groups.

Did you try to take out limitlessled and see if it works

Thank you everyone! Seems like the view option is deprecated. At least its also missing on https://www.home-assistant.io/integrations/group now.

Removing the view=yes option solved the problem for me as well.

Yes this correct. I just copied someone elses group code from 2017 and had same error and remembered something about it getting depreciated last year came across this thread searching for the notes.

Here is extract from the 0.105 update release notes for permanent removal in 0.107:

**Group**   *Deprecated*  - Group configurations options, services and service options related to the old states UI are now deprecated and pending for removal in Home Assistant 0.107.0.

This includes:

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

Please ensure your configuration and automations do not use these anymore.

ps @Klagio dont forget to edit your title to SOLVED or [SOLVED] at the beginning to help others.

Hello,
I’m pretty new to HA. After updating to 2021.12.5 I have problems with my Light groups.
If the system is just started I can switch the lights on and off and I see the state change in the interface. After a couple of hours, I can only change the state to the other one. What I mean is if the interface tells me they are off I can turn them on, when they are on I can not turn them off.

In other posts here you talked about removing the view=yes but I can’t find it in my files.
So, who knows what is going wrong here?

This is my configration.yaml


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate
#group: !include_dir_merge_named Groups/
#light: !include_dir_merge_named lights/
#automation: !include automations.yaml
#script: !include scripts.yaml
#scene: !include scenes.yaml

####################################################################
#World Clock
####################################################################
sensor:
  - platform: worldclock
    name: Local Time
    time_zone: America/Curacao
  - platform: worldclock
    name: Netherlands Time
    time_zone: Europe/Amsterdam
  - platform: worldclock
    name: LA Time
    time_zone: America/Los_Angeles
  - platform: worldclock
    name: New York Time
    time_zone: America/New_York

sun:
####################################################################
#Climate Controle
####################################################################
climate:
  - platform: sensibo
    api_key: xxxxxx

template:
   - sensor:
      - name: Bedroom Humidity
        unique_id: bedroom_humidity
        state: "{{ state_attr('climate.Slaapkamer', 'current_humidity') }}"
        unit_of_measurement: '%'
        icon: mdi:water-percent
      - name: Bedroom Temperature
        unique_id: bedroom_temperature
        state: "{{ state_attr('climate.Slaapkamer', 'current_temperature') }}"
        unit_of_measurement: "°C"
        icon: mdi:thermometer
####################################################################
#Lights
####################################################################
light:
  - platform: group
    unique_id: livingroom_lights_all
    name: Living Room
    entities:
      - light.woonkamer01
      - light.woonkamer02
      - light.woonkamer03
      - light.woonkamer04
      - light.woonkamer05
  - platform: group
    unique_id: contour_lights_all
    name: Contour
    entities:
      - light.contour_verlichting
  - platform: group
    unique_id: rearporch_light_all
    name: Rear Porch
    entities:
      - light.porch_01
      - light.porch_02
  - platform: group
    unique_id: sideporche_light_all
    name: Side Porch
    entities:
      - light.sideporch1
      - light.zijporch2