Fix Tesla dashboard entities and charging plan view
This commit is contained in:
1 parent
e541b658bd
commit
7a61bb50d0
3 files changed
+92
-24
No files matched your search
@@ -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