Releases: imonlinux/apsystems_power_local
Added Suspend at Sunset
How this behaves now
Daytime:
Coordinator polls the ECU every 5 minutes as before.
Regex pulls the NN.NN kWh from #total.
Nighttime (when sun.sun == below_horizon AND “suspend after sunset” is enabled in options):
No HTTP request is made.
The coordinator returns the last known value (final daily total).
If the integration is added at night (no previous value), it returns 0.0 until sunrise.
If the sun entity is missing, it just keeps polling (no behavior change), so it’s safe even in weird configs.
Code Modernization and Standardization
v1.3-beta Update manifest.json
Added Suspend at Sunset
How this behaves now
Daytime:
Coordinator polls the ECU every 5 minutes as before.
Regex pulls the NN.NN kWh from #total.
Nighttime (when sun.sun == below_horizon AND “suspend after sunset” is enabled in options):
No HTTP request is made.
The coordinator returns the last known value (final daily total).
If the integration is added at night (no previous value), it returns 0.0 until sunrise.
If the sun entity is missing, it just keeps polling (no behavior change), so it’s safe even in weird configs.
Updated to support 2025.6 Release
Merge pull request #8 from imonlinux/Fix_Async Update __init__.py
Configuration Via UI
Merge pull request #7 from imonlinux/UI UI
Initial Release
This is the initial release of the Home Assistant custom component APSystems Power Local.