Repository navigation
What's changed
A large release: Easee/Tesla/car link rework, guest car class, ClimateCommander integration, heater fixes, validation and atomic storage. Changes are listed against v1.0.4. The README "Breaking Changes / v1.0.5" has the full list, read it before upgrading.
Read before upgrading
- Action needed: add
power:(rated watts) to everyclimate,heater_switchesandclimate_commanderentry. Heater power is no longer learned (learning only went up and could store the sum of several heaters). A WARNING at startup lists heaters without it; without it the stored value is kept (300 W climate, 1000 W switch). - ClimateCommander 1.4.0 or later is needed to use the new
climate_commander:list. Nothing to do if you keepclimate:, which is now deprecated (WARNING, still works). - ElectricalPriceCalc 0.1.8 or later for
low_price_max_continuous_hours, which works again (it was read and never used; spend hours were always 3). If the key is already in your YAML, its value is used from now on. climate:manages hvac modeheatonly; other modes get no commands (use a ClimateCommander app).- An Easee that charges with no car linked is paused (checked every minute, at most 5 pause commands, one WARNING in the log). Charging an Easee from outside the app with no linked car is not supported; use the guest switch for an unknown car.
- Config is validated: unknown keys are ignored, invalid values are logged at ERROR and the app does not start. A missing
electricalPriceAppstops the app with an ERROR. - The
temperaturestable applies from itsoutvalue and up (exact readings change); the climate fallback temperature is the climate'smin_tempinstead of a fixed 10; the setpoint is rounded half up and sent only when it changes. - Charge plans can change slightly with several cars (windows are merged only for cars that overlap; queue priority is now applied; reduction over the kWh goal uses the amps needed). The
charge_nowhelper is turned off by the app when charging ends.infotextnames the cars and their times. - HACS is no longer used; install and update with git.
New
climate_commander:, climates controlled by ClimateCommander (save / spend / reduce from prices and consumption).- Easee rework: one-to-one car links; a car under
cars:with a plug sensor can be linked to an Easee; the link is checked on fresh data (cars are woken and refreshed,wake_when_stale);unlink_grace_minutesfor Teslas; a finished Easee keeps a car that still reports charging in the queue; guest notification (Charge now / kWh) for a linkedcars:entry. - Guest car handled by one class (
guest.py): stable id, recreated after a restart, clean teardown,guest_remove_after_minutes. - Fixed charge price per car (
charge_below_price) works with several cars. - Fire alarm: every charger is checked and stopped (also with no linked car);
false-alarmrestores only what the app turned off. notify_title/notify_messagefor finished heater switches;turn_back_on_afteris respected;notify_when_finishedworks without a turn-off window.- Audi: work in progress, checked against audiconnect only, not tested on a real car and not in the README.
LLM.mdfor AI-assisted setup.
Fixed
- Reduction over the kWh goal, per-minute check at second 5 and minute-0 guard, stale-sensor reload at most every 15 min.
- JSON storage written atomically; an unreadable file is renamed to
*.corrupt-<time>.jsoninstead of stopping the app; a wrong YAML value for something saved is ignored with a WARNING. - Battery size learning no longer mixes percent and kWh; unreadable battery level uses the last read level instead of 10%.
- Heaters: unavailable sensors and entities, listener leaks, window correction capped at 3 degrees, offline window sensor, vacation end only restores what the app turned off, consumption measured correctly after a save period, learned consumption looked up by hours.
- A car that is not home gets no commands; a Tesla no longer jumps from the Easee to its own charger on
Stopped. - Several instances now have their own lists of cars and chargers (give each its own
json_path).
Full Changelog: v1.0.4...v1.0.5