Open wrieden opened 2 years ago
@wrieden
for (const entity of this._evaluateTemplate(this._config.entities)) {
Tested the proposed fix locally. It causes constant flickering - even when a monitored entity is not changed.
type: custom:config-template-card
entities:
- sun.sun
card:
type: history-graph
entities:
- sun.sun
This card erratically flickering every several seconds.
Checklist:
Release with the issue: Master Branch Last working release (if known): unknown Browser and Operating System: chrome 96.0.4664.110, Win 11
Description of problem:
entity list based of variables is not working for me. For example:
or
Additional information:
This seems to be an error with the shouldUpdate function, as the evaluation of the Variables is carried out too late. I've made the following change locally, which solves the problem for me:
old:
new: