feat: dry the kids' bathroom in the cheapest window after a shower #13
Loading…
Reference in a new issue
No description provided.
Delete branch "runa/hass:feat/bath-drying-cheap-hours"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Builds on #12 — merge that first. This branch contains #12's commit; review only the second one.
The kids shower at 18-20, the dearest hours, and their floor started drying at once. Now:
cheapest_start()incustom_templates/bathroom_drying.jinja), and stores it ininput_datetime.bathroom_kids_drying_start.What it is worth. On last week's prices, the six kids showers would have dried at 1.18 SEK/kWh less, the best start being 4 h later each time (e.g. Mon 18:02: 5.59 -> 4.17). At roughly 1 kWh a run, about 1.2 SEK a day.
Fails towards drying now: no price data, or none covering a whole run, or an unset start helper all mean dry at once.
Validated:
just check-localpasses.cheapest_start()rendered against sample prices: delays to the cheapest window that the data fully covers; no delay, no prices, flat prices, a window past the end of the data, and "cheapest is now" all return now. Not run live.