Skip to content

Releases: smilebob/felicity_solar_hacs

v1.1.4: Cell Voltage Log Spam Fix, BMS Status, Translations, CI & Reauth Flow

Choose a tag to compare

@smilebob smilebob released this 11 Sep 16:39

What's Changed in v1.1.4

🚀 Bug Fixes & Improvements

  • Resolved Repeating Cell Voltage Warning: Eliminated the could not parse any individual cell voltages warning spam (which previously fired on every poll cycle). Missing cell telemetry is now reported once informatively at startup and kept in DEBUG.
  • Sanitized Physical Cell Count: Corrected cellCount derivation for 48V/51.2V packs when cellNumber reports parallel pack index (e.g., 3) instead of series count (16S).
  • Harmonized Sensor Availability: Individual unstreamed battery cell voltage entities (cellVolt1–cellVolt16) now show cleanly as Unavailable instead of Unknown, while aggregate metrics (Max Cell Voltage, Min Cell Voltage, dV Cells) remain 100% available and functional.
  • New BMS Status Sensor: Added bmsCommunicationStatus (BMS Communication Status) on battery packs to report "Connected" / "Disconnected" state.
  • Service Cleanup on Teardown: Updated async_unload_entry in __init__.py to safely unregister custom services when the last domain instance is unloaded.

🌐 Internationalization & UX

  • Full Translations Support: Added native strings.json, translations/en.json, and translations/fr.json for polished ConfigFlow, OptionsFlow, and error messages.
  • Re-Authentication Flow: Added async_step_reauth and async_step_reauth_confirm in config_flow.py for seamless password rotation without re-installing.

⚙️ Quality & CI

  • GitHub Actions CI Pipeline: Added automated .github/workflows/validate.yml checking Python 3.12 syntax, HACS compliance, and unit test execution.
  • Automated Unit Tests: Added tests/test_battery.py covering cell voltage parsing, 16S derivation, sensor availability, and log throttling.
  • SEO Optimization: Comprehensively overhauled README.md targeting Home Assistant, Felicity Solar, FSolar, and FelicityESS ecosystems.

Full Changelog: 1.1.2...1.1.4