claus
dde5ff292a
fix(template): correct and simplify tesla_charge_now logic
- Convert tesla_charge_now to binary_sensor
- Replace strptime with as_timestamp for robust time parsing
- Fix hour alignment (remove 15-min slot mismatch)
- Implement proper deadline filtering using timestamps
- Simplify template to minimal, readable logic
Result:
- Accurate identification of cheapest charging hours
- Eliminates false negatives in charge scheduling
2026-03-17 06:18:27 +01:00
..
2026-03-15 18:57:59 +01:00
2026-03-15 17:42:41 +01:00
2026-03-15 17:43:05 +01:00
2026-03-16 16:51:30 +01:00
2026-03-17 06:18:27 +01:00