You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the card to the latest version available
I cleared the cache of my browser
I verified that I'm really running the lastest version in my browser console
I checked if there is another issue opened with the same problem
Describe the bug
Using a data_generator, the current value of the entity is displayed wrong, since always the last / youngest historical value is used for this according to the code.
In case a data_generator is used which creates "future" values (values which will be valid in a future point in time) - this approach causes the issue:
Version of the card
Version: 2.0.2
Expected behavior
The value of the entity as reported by HA should be used the display the current value
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
Using a data_generator, the current value of the entity is displayed wrong, since always the last / youngest historical value is used for this according to the code.
apexcharts-card/src/graphEntry.ts
Lines 113 to 114 in 1449c7f
In case a data_generator is used which creates "future" values (values which will be valid in a future point in time) - this approach causes the issue:
Version of the card
Version: 2.0.2
Expected behavior
The value of the entity as reported by HA should be used the display the current value
The text was updated successfully, but these errors were encountered: