We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Blade runtime is displayed incorrectly instead of factor 1 is divided by 1000 in the YAML
Change divided 1000 to factor 1
The text was updated successfully, but these errors were encountered:
I use:
- entity_id: sensor.mower_blades_total_on_time subtitle: Total blade time value_template: '{{ as_timedelta((value | float(0) * 3600) | string) }}' - entity_id: sensor.mower_blades_current_on_time subtitle: Current blade time value_template: '{{ as_timedelta((value | float(0) * 3600) | string) }}' - entity_id: sensor.mower_total_worktime subtitle: Work time value_template: '{{ as_timedelta((value | float(0) * 3600) | string ) }}' - entity_id: sensor.mower_distance_driven value_template: '{{ (value | float(0) / 1000) | round(3) }}' unit: km subtitle: Distance
Sorry, something went wrong.
value_template: '{{ as_timedelta((value | float(0) * 3600) | string) }}' - entity_id: sensor.mower_blades_current_on_time subtitle: Current blade time
Multiplier 3600 is too much. I get the wrong value. If I only use 1, i.e. don't multiply, the result is perfect.
For the other calculations I used /1000 instead of * 3600. All values match the app.
Try it. It's cool. Just try )
No branches or pull requests
Describe the bug
Blade runtime is displayed incorrectly instead of factor 1 is divided by 1000 in the YAML
Steps to change and solve the problem
Change divided 1000 to factor 1
Versions:
The text was updated successfully, but these errors were encountered: