aquatemp
aquatemp copied to clipboard
"Invalid Credentials" when adding integration for HiTemp
Describe the bug Add integration screen results in Invalid Credentials error. v3.0.26
To Reproduce Steps to reproduce the behaviour:
- Go to Settings - Devices & Services
- Click on '+ ADD INTEGRATION'
- Find Aqua Temp
- Enter email & password
- Check error
Expected behavior Expect successful login as tested with same credentials in Hi Temp android app.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version: 116
Smartphone (please complete the following information):
- Device: Pixel 6
- OS: Android 13
- Browser: Chrome
- Version: 116
Additional context I've tried over a few days, checked and triple checked details. Reset password - same error. Created a 2nd HiTemp account and shared device - same error with both accounts. Rebooted HA - same error. Enabled debug log:
2023-09-05 16:27:31.570 INFO (MainThread) [custom_components.aqua_temp.managers.flow_manager] Config flow started, Step: user, Input: None
2023-09-05 16:27:54.669 INFO (MainThread) [custom_components.aqua_temp.managers.flow_manager] Config flow started, Step: user, Input: {'title': 'Evoheat HWS', 'username': '[email protected]', 'password': 'redacted', 'api_type': 'hi_temp'}
2023-09-05 16:27:54.672 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_config_manager] Storing config data: {"temperature_unit": {}}, Exiting: {"temperature_unit": {}}
2023-09-05 16:27:54.683 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_config_manager] Initialized, Entity Descriptions: 3, protocol codes: 3, protocol codes configuration: 3, platforms: 4, HVAC modes: {'default': {'off': None, 'cool': '0', 'heat': '1', 'auto': '2'}, '1245226668902080512': {'off': None, 'heat': '0'}, '1442284873216843776': {'off': None, 'cool': '0', 'heat': '1', 'auto': '2'}}, HVAC modes - reversed: {'default': {None: 'off', '0': 'cool', '1': 'heat', '2': 'auto'}, '1245226668902080512': {None: 'off', '0': 'heat'}, '1442284873216843776': {None: 'off', '0': 'cool', '1': 'heat', '2': 'auto'}}, Fan modes: {'default': {'auto': '0', 'low': '1'}, '1245226668902080512': {'off': '0', 'low': '1', 'high': '2'}, '1442284873216843776': {'auto': '0', 'low': '1'}}, Fan modes - reversed: {'default': {'0': 'auto', '1': 'low'}, '1245226668902080512': {'0': 'off', '1': 'low', '2': 'high'}, '1442284873216843776': {'0': 'auto', '1': 'low'}}
2023-09-05 16:27:54.689 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Initializing API, Throw Error: True
2023-09-05 16:27:54.690 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] No token available, Login AquaTemp API and fetching devices
2023-09-05 16:27:56.061 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Request to https://cloud.linked-go.com/cloudservice/api/app/user/login.json, Body: {'user_name': '[email protected]', 'password': 'redacted'}, Result: {'error_code': '-1', 'error_msg': 'Error username or password', 'error_msg_code': '', 'is_reuslt_suc': False}
2023-09-05 16:27:56.061 WARNING (MainThread) [custom_components.aqua_temp.managers.flow_manager] Failed to create integration, Error Key: invalid_credentials