@Mutt wrote:
I’ve just migrated EVERY thing from one HA instance to another, adding and changing things as I went.
I use the unused entities to see what I need to do with any new entities to check that the decks are clear.
I have a ‘view’ just for hiding stuff away. I generally populate it (from the template editor) using : -- {% for state in states.automation -%} {{ ' - entity: ' ~ state.entity_id }} {{ '' }} {%- endfor %}
Pasting the result into my yaml (same for scripts)
So inspired by a recent topic : -
I thought I’d do the same with the ‘other entities’ I want to hide, but here it becomes tricky.
The main thing they have in common is that they ALL have a friendly name Starting with "Null "
But, for other uses, they may have the word “Switch” somewhere in the friendly name. (This is just an example of something to search for).Using the two above examples I thought I’d hack the two together and create my ‘yaml scraps’.
The brickwall I’ve hit proves to me that I don’t actually understand the syntax well enough to do that.
The question was split deliberately as the first 5 chars should be relatively easy (so much for what I thought) and the second (‘Switch’ somewhere in) - … - I have no clue at all
Can someone explain the required syntax and see if that lights a candle somewhere in the blacked out aircraft hanger that I’m working in ? (even if it’s just a reference)
Thanks in advance
Posts: 1
Participants: 1