Fix Tesla dashboard entities and charging plan view
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
state: >
|
||||
{% set val = states('sensor.snowywhite_range') %}
|
||||
{% if val not in ['unknown','unavailable',''] %}
|
||||
{{ val.replace(' km','') | float }}
|
||||
{{ val.replace(' km','') | float | round(0) | int }}
|
||||
{% else %}
|
||||
0
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user