Group light is ON even all the entities in the group are unavailable

light.led_light state is always ON even all the light entity inside the group in unavailable. If i click the button, it will become unavailable for few seconds, then it back to ON again. It’s weird.

configuration.yaml

light:
  - platform: group
    name: led light
    entities: 
      - light.color5_cloud_562486 #Corridor LED
      - light.color5_cloud_586753 #DB LED

What happens to the states of these two lights?

      - light.color5_cloud_562486 #Corridor LED
      - light.color5_cloud_586753 #DB LED

How are they defined/integrated into Home Assistant?

For example, Philips Hue has an option to display unavailable lights as available (only the gods know why). Maybe your lights act the same?

- light.color5_cloud_562486 #Corridor LED
- light.color5_cloud_586753 #DB LED

The state of these 2 lights is ON.

They are integrated in to Home Assistant via HACS, the repository is Xiaomi MIoT.

I don’t have any Philips Hue, so i am not sure about that.

Yes, but what is their state when the group is turned off?

Can the lights both be individually controlled successfully?

When there is power source, if I turn off the light group,

light.color5_cloud_562486
light.color5_cloud_586753

state are both off.

Both light can be controlled individually.

Is that the only place light: appears in your configuration.yaml file?

Yes, i don’t place it at other file.