I have a number of rooms that contain several IKEA downlighters and I have set these up in room groups in Zigbee2MQTT and added these to HA manually eg.
light: - platform: mqtt schema: json name: Playroom Lights command_topic: "zigbee2mqtt/Playroom/set" state_topic: "zigbee2mqtt/Playroom" color_temp: true brightness: true rgb: false unique_id: playroom_room_lights
configuration.yaml. I know that groups come across to HA but I found that I only had the ability to turn on / off and not adjust brightness / colour if I set them up that way.
Anyway this works well but one thing that has been slightly annoying me if the state of these MQTT groups if / when HA gets restarted. If the lights are on and I restart HA then when it comes back I can see that the individual bulbs show they are on but the group shows as off.
Is there anything I can do to get the state of these groups to show up correctly after a restart?