Skip to content

v0.23.2 — OTA install + energy-sensor fixes

Choose a tag to compare

@botts7 botts7 released this 05 Jul 08:28

Fixed

  • Firmware "Install" (OTA from HA) no longer shows a bogus error. The gateway reboots into the new image right after accepting the upload, so its HTTP response is often empty / the connection drops — the client tried to parse that as JSON and raised "unexpected character: line 1 column 1 (char 0)" on a flash that had actually succeeded. A 2xx is now treated as success without parsing the body.
  • Energy sensors no longer spam the log. "Green energy (session)" / "Grid energy (session)" were state_class: measurement, invalid for the energy device class — now total_increasing. "Last charge burst" is a per-burst snapshot, so it now carries no state_class.

Added

  • Test guard validating every sensor's device_class / state_class combo against HA's rules, so this class of bug can't ship again.

Update: HACS → redownload the integration → restart Home Assistant.