Fix Tesla failsafe charge condition

This commit is contained in:
2026-04-09 15:26:31 +02:00
parent 59b118b111
commit b1e76703a5
@@ -10,10 +10,12 @@
false false
{% endif %} {% endif %}
condition: condition:
- condition: numeric_state - condition: template
entity_id: sensor.tesla_kwh_needed value_template: >
above: 0 {{
value_template: "{{ states('sensor.tesla_kwh_needed')|float(0) }}" states('sensor.snowywhite_battery') | float(0)
< states('number.snowywhite_charge_limit') | float(100)
}}
action: action:
- service: switch.turn_on - service: switch.turn_on
target: target: