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
{% endif %}
condition:
- condition: numeric_state
entity_id: sensor.tesla_kwh_needed
above: 0
value_template: "{{ states('sensor.tesla_kwh_needed')|float(0) }}"
- condition: template
value_template: >
{{
states('sensor.snowywhite_battery') | float(0)
< states('number.snowywhite_charge_limit') | float(100)
}}
action:
- service: switch.turn_on
target: