this works great . But I want entity_id of these lights - mapping back to entity_id after the select doesn’t work. How do I do this? This to create a dynamic group of those lights via an automation.
Developer-Tools /States , search, there’s no List, as all installation is individual, as for tutorial, i think i’ve seen a link to one somewhere in a commend.
But it’s jinja, here’s 1 ( maybe i bookmarked it from the url i saw https://jinja.palletsprojects.com/en/latest/templates/#
Yeah - familiar with both and have been using it and it is helpful but the jinja docs are not very beginner friendly in my opinion.
If there is a better resource to learn jinja templating than this one then please do share that.
Another question - groups created via the UI - is there anywhere in the config folder I see a yaml version of that? Like automations created via the ui shows up in automations.yaml.
UI made groups and helpers, just anoy me, ones they are made, i have no idea where they are(beside as an entity) So i only have old yaml-groups
Beside, Groups made in helpers, will always show as Off/Away, if 1 member is off/away( Pretty odd )
Agree, I like the functionality of creating them via the UI sometimes. Especially if I am on my phone or tablet and can’t open my IDE. But would love to see the end product in the config somewhere, like automations that is perfect, get the initial code created via UI and then edit if necessary manually via an editor. But I guess that is not possible with UI groups and helpers.
You are right, i just checked the DOCs, don’t know why/where i got this from, maybe it was template-helpers i made ( because i needed a mix of lights/switches/sensors ), which then always showed as off. , so i dropped it, as i also couldn’t easily see which was added.
Anyway, maybe eventually one can create mixed-entity groups, And device-trackers groups, in UI
EDIT: was/must have been a template-helper , because i “grouped” entities from an integration.
Old Group Style: