#Someone opened a PR to add support for
1 messages · Page 1 of 1 (latest)
As I understand it, this allows a user after creating a switch group, to configure homekit to use the power_strip type for the switch group entity.
There are two things I don't like with it now.
- There's not a strict check what kind of target entity is used. Just because the entity state has an attribute named
entity_iddoes not mean it's a group entity.
- It doesn't inform the user in a nice way of a configuration error, ie if the target is not a switch group, it should inform the user of that. Maybe with a repair issue.
I'm wondering if this is another one of those "device types" things that we should not do right now
If the switch group platform gets extended to support the new group entity attribute, homekit can check for the group_entities state attribute to know that the switch is a group.