Join GitHub today
RFC: Static templates match no entities, not all #17991
The below template sensor stopped updating with 0.81 because of the
I propose to have
For the template sensor it will be a usability improvement and for other template platforms that still accept
This is marked RFC because I realize that in a perfect world nobody would put static texts into the template engine.
Related issue (if applicable):
Example entry for
I don't think that you should use a template for a static text. Anyway, that's not the questions but an interesting aspect of a need.
I think we should not return a
@balloob what do you think?
If we look at the fix in isolation (without the template entity context), if we know nothing is dynamic in the template, we should return an empty list. So I think that this change is good.
It is debatable if an icon should cause extra state change listeners. I think that it should, but we might want to move that to an architecture issue.