-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
value_template not working on Chrome #685
Comments
I have same problem with any web browser. |
I too have this issue in firefox and companion app on iphone and ipad. however if the value template is used with attribute it works fine, if it is a entity id specifically a sensor with a number value, then it defaults to the value of the entity, and any template for converting the seconds to hours or even minutes will not change that value. |
Yes, but attribute is in seconds :( |
correct, so is my sensor, my vacuum does not put my filter and brush life timer in an attribute, but in a sensor, my run time is in a attribute, I can use the value template on the run time (attribute) to convert seconds to hours, but my filter and brush life timer I can not use the exact same value template as they are sensors. but I can take the logic from the value template and put it in a template sensor and it will calculate the hours from seconds and then I can use that template sensor value in the vacuum card, however I don't want a bunch of template sensors created to fix a problem that should be fixed in the add in. |
There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue. |
There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue. |
This is still an issue with the latest chrome. HA iOS app displays the values correctly. |
I'm having similar problem on androit tablet with Fully Kiosk Browser. |
There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue. |
I have the same issue on Safari and Mac OS Companion App. |
Still not working correctly.. Adding to keep from going stale again |
Not only that but when you use value_template it doesn't update the value on screen when the value updates. You need to refresh the page for it to update. |
I also face the same issue with template being applied on the initial render, but being broken after state being updated. I believe the bug is in this repo: https://github.com/denysdovhan/ha-template |
[X] I updated to the latest version available
[X] I cleared the cache of my browser
on the vacuum-card in the stats -> default section i try to display time in hours instead seconds:
value_template: '{{ ( value | int * 0.000277778 ) | round }}'
unit: h
subtitle: Filtr
Chrome browser show value 244529
Firefox, Android show correct value: 68
The text was updated successfully, but these errors were encountered: