Imagine I want to list/count only template sensors? Or only rest sensors? Or only statistic sensors? Or only mqtt sensors?
I can easily get all sensors but not sets by platform type.
Imagine I want to list/count only template sensors? Or only rest sensors? Or only statistic sensors? Or only mqtt sensors?
I can easily get all sensors but not sets by platform type.
Just try this in the template editor
{{ integration_entities("template")}}
Any easy way of determining it by entity type? Sensors, Binary Sensors, Covers, etc.
If that is possible, I guess this can be closed.
Yes, templates offer additional filters. Iām on mobile so writing it out is a PITA
No worries, thanks in advance.
{{ integration_entities("template") | select("search", "^sensor") | list }}
Clever way, selecting using a regular expression, thought there might be a simpler way, but WTH, it works.
Thanks @petro