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 |
|