🐛 Bug Fixes
-
Fix reload loop when circuit name is None (#162, @NickBorgers): Fixed infinite reload loop that caused entity flickering when the SPAN panel
API returns None for circuit names.
Thanks to @NickBorgers for correctly analyzing a solution. @cayossarian. -
Fix spike cleanup service not finding legacy sensor names (#160, @mepoland ): The
cleanup_energy_spikesservice now correctly finds sensors regardless of naming pattern (friendly names, circuit numbers, or legacy names withoutspan_panel_prefix).
Also adds optionalmain_meter_entity_idparameter allowing users to manually specify the
spike detection sensor when auto-detection of main meter fails or that sensor has been renamed.
@cayossarian.
🔧 Improvements
- When a user has customized an entity's friendly name in Home Assistant, the integration skips reload request for that entity. @cayossarian