If domain is listed with nothing else it fails, that’s at least what I fixed in the one I just posted
I just tested the blueprint with only two static entities and it added absolutely all of the entities in home assistant to the group. Something’s not working.
Thanks for letting me know. I’ll have it fixed shortly.
Need to wrap if statement around includes and excludes sets, I’ll post tomorrow morning if ya don’t post anything
Made changes and thoroughly tested. I believe it’s fixed but please let me know if you find anything.
It works great now! thank you so much for taking the time to fix it.
@mwolter Do you think this would also enable me to create a group from en existing sensor that contains multiple sensors called out as entities.
This is the entity (example)
And if I use (for instance) this template below I get the list of entities.
It would be great if your blue print would allow me to create a real ‘group’ from this and keep it in ‘sync’ with the fake group sensor powercalc generates.
This only works with old school groups as the new school groups do not have the ability to adjust their members.
Short answer: Not possible.
Is it possible to also work with friendly names instead of object IDs?
I have tons of Zigbee devices and I normally do not care their object ID, instead I simply rename them to what they should be used for instead (as any normal user would also do). But instead I use a specific naming concept in my friendly names that would be very beneficial to have such dynamic groupings.
Example:
‘Bathroom Window1 on_off’ = binary_sensor.lumi_lumi_sensor_magnet_aq2_80e6df01_on_off
‘Bathroom Window2 on_off’ = binary_sensor.lumi_lumi_sensor_magnet_aq2_80e9df04_on_off
‘Livingroom Window1 on_off’ = binary_sensor.lumi_lumi_sensor_magnet_aq2_81e9da01_on_off
‘Livingroom Window2 on_off’ = binary_sensor.lumi_lumi_sensor_magnet_aq2_86e96f01_on_off
… which are not unique in general.
No objection in this but still, as in my setup they are not, i´d love this option. So would it be possible?
Just rename your entity_ids
OT then here, but:
Let´s leave it like this
It takes less than 5 seconds to do a find in files/replace with a text editor. Notepad++, VSCode, or the vscode addon.
I would like to set the ‘all_entities’ option. Is there any way to do this?
Not sure what you are referring to. Please provide more detail.
Hi, I have created a group for testing purpose, but now I don’t know how to remove it
can you help me?
There are a couple ways to delete the group but first you need to delete the automation, then either reboot home assistant or go to Developer Tools > Actions > enter action Group: Remove and enter the Object ID of the group.
Edit 241218: Appears there is no way to delete the group from its entity page.
I’ve deleted the automation, reboot, but the group is still present, under entities and under helpers. It says that is without unique id, so I can delete it as usual. any tought?
Just installed this and ran it, works great for my needs. I was pointing it out to someone on Reddit [Turn off all lights except those with label], and they also asked if it was possible to generate the group based on the state of the lights too. It was pretty easy to add the changes to your blueprint (see my Reddit reply) but maybe you could add it to your official version?