Hi,
I have created a group in my YAML configuration:
light:
- platform: group
unique_id: livingroom_cask
name: "Cask"
entities:
- light.livingroom_cask_top
- light.livingroom_cask_middle
- light.livingroom_cask_bottom
The set unique_id
seems to be useless, no clue where it gets used.
I’m wondering whether there is a way to assign a entity_id
to a group. Currently, HA transforms the name Cask
and creates an entity with the name light.cask
. I’m actually able to give an entity_id
to the entity in the UI Settings -> Devices & Services -> Entities
. But next to the fact, that I want to control everything in my configuration files, the entity_id
is reset after a while and appears again as light.cask
. The old entity is still listed but with this red exclamation mark with a state of unknown
. I guess a simple restart or reload of groups resets the entity_id
again.