support templates in group config #399
Mariusthvdb
started this conversation in
Ideas
Replies: 2 comments
-
Did some work on this #435. It's still a WIP, but got something working. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Work has been finished and merged into master |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
currently I created manual template: sensors to do things like:
which is kind of ok, but rather complex. As I've also experimented with the group functionality you offer:
which replaces 2 earlier templates:
you can see why I am so enthusiastic about that group functionality! as a matter of fact (might be a fluke) it seems to be even better because when my lights are physically turned off, the previous template would show 'unknown' while the group config shows 0! which is correct, because they are powered off completely, so no entry consumed at all.
Long story short:
would you consider supporting templates in the group config, where the templates need to evaluate to a list? just like eg auto-entities card does: https://github.com/thomasloven/lovelace-auto-entities scroll down to the bottom to see template filter examples
thanks for considering !
Beta Was this translation helpful? Give feedback.
All reactions