Releases: CharlesGillanders/homeassistant-alphaESS
Updated deprecated measurement usage.
This release addresses the warning message that is generated regarding deprecated units of measurement.
See #103 for the issue.
Thanks @CadeusTheGreat for the pull request (#102) with the fixes.
Prevent NoneType exceptions at local midnight
Thanks to @dan-s-github - Prevent the NoneType exceptions that occur at midnight local time.
Fix for UTC reset issue #85
Additional Debugging and API validation
This release adds additional validation from API calls which should help reduce unexpected errors if the API doesn't provide the expected data. It also includes a lot more optional debug data which should help to troubleshoot when issues do occur.
Fix for issue 85 - attempt two
Another attempt to fix issue #85
Fix for issue 85 - end of day reset in wrong timezone
This should fix Issue #85 "Sensors not reseting at local midnight - Instead at UTC"
Fix for missing prompts in configuration flow
This fixes the missing text in the prompts for AppID and AppSecret during the configuration flow.
Fix for setting Charge/Discharge
Fixes to errors when setting charge/discharge
Switch to using AlphaESS OpenAPI
[!WARNING]
Caution - Breaking Change
This update uses the new AlphaESS OpenAPI. The OpenAPI uses entirely new authentication credentials - you must make sure you have registered an account as an AlphaESS OpenAPI developer and bound your inverter to your developer account before installing this release.
Registering up for an OpenAPI developer account
Register at https://open.alphaess.com/ for a (free) account to get your Developer ID (AppID) and Developer Secret (AppSecret).
Once registered, bind your battery/inverter to the developer account via the web UI.
Modifying existing installs to use the new OpenAPI
If you had previously been using this custom component in Home Assistant you will need to change to use the new authentication mechanism required by the AlphaESS OpenAPI.
- First upgrade the HomeAssistant component to at least version 0.4.0 and then restart your HomeAssistant
- In HomeAssistant navigate to Settings / Devices & Services / AlphaESS
- Look for the pane labeled Integration entries and click on the "3 dots" menu to the right of your existing AlphaESS service.
- Delete the existing AlphaESS service.
- Click Add Entry to add a new AlphaESS service
- Provide the AppID and AppSecret for your account on the Alpha ESS OpenAPI developer portal.
- The new service will be created keeping the same entity/device names as before.
Workaround for AlphaESS authentication changes
AlphaESS introduced breaking authentication changes, documented in issue #76
This is not a complete fix - it is only a temporary workaround (thanks @matt-oneill) whilst I work on incorporating the necessary authentication changes for a permanent fix.