Due to Issues with V2.1.x (maybe splitting out the API was a bit ambitious) and current issues with Leviton's Cloud API. I've backported some of the non breaking changes.
This release includes some Backported features and bug fixes.
New
- Breaker Daily Import — solar breakers now get a dedicated "Daily Import" sensor. Pure-consumption breakers (3D printers, etc.) are automatically excluded
Bug Fixes
- Energy not resetting at midnight after restart — the previous day's baseline was silently lost on every HA restart, causing daily energy to never roll over correctly until the next natural midnight
- Duplicate state writes per update — each energy sensor was notifying HA twice per update cycle instead of once. Also the root cause of the hass is None error in the logs
- Monotonic guard timer not persisting — the backwards-jump protection timer reset itself unexpectedly between updates
Backported
- last_date format fix — dt_util.parse_datetime → datetime.date.fromisoformat
- LED Blink Breakers
- Sensors in UI renamed "Total Daily Energy" → "Daily Consumption", "Total Daily Import" → "Daily Import".
Translation
- Updated labels for 120/208V service, raw WebSocket logging, and parsed data logging across EN/FR/PT