Light group unavailable: MQTT lights discovered from zigbee2mqtt

Hi guys,

I have a bunch of zigbee lights that are discovered by HA from zigbee2mqtt.

When I group them into a light group the group shows up as unavailable.

light:
 - platform: group
    name: mylightgroup
    entities:
      - light.friendlyname1
      - light.friendlyname2
      - light.friendlyname3
      - light.friendlyname4
      - light.friendlyname5
#      - light.0x00deadbeef
#      - light.0x00deadcafe

I tried using their friendly name, and I tried using their zigbee2mqtt native name (IEEE Address based). Neither worked.

I do not get any error messages. mylightgroup is just unavailable.

Any ideas?

I found the problem on my own. Seemingly light groups don’t work with the friendly names. The address based names have a trailing “_light” postfix, which I forgot to add. After adding it, the group started working.

BTW, it is a shame that the friendly names cannot be used.

1 Like