Add CONF_API_TYPE to DATA_KEYS in config_data.py - #128
danielguedon wants to merge 1 commit into
Conversation
Persist the selected API type in the config entry to prevent falling back to AquaTempOld after restart.
|
Additional details from debugging and testing: Environment:
Observed behavior: Because On the next initialization,
The integration then uses the legacy AquaTemp API instead of the selected current API, causing authentication to fail even though the same credentials work in the Aqua Temp app. Tested fix: After applying this change and reconfiguring the integration, the config entry contains:
I then reloaded the integration and performed a full Home Assistant restart. The integration continued to use the current Aqua Temp API and the heat pump entities remained available. So far, this one-line change completely resolves the issue on my installation. |
Persist the selected API type in the config entry to prevent falling back to AquaTempOld after restart.