Open johndeu opened 16 hours ago
Hey there @icebotyt, mind taking a look at this issue as it has been labeled with an integration (nice_go
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
nice_go documentation nice_go source (message by IssueLinks)
Hi :)
Please enable debug logs and attach them by dragging and dropping onto the comment box.
Thanks!
Additional logging
2024-12-03 08:26:49.359 DEBUG (SyncWorker_0) [nice_go._aws_cognito_authenticator] Token refreshed 2024-12-03 08:26:49.363 DEBUG (MainThread) [nice_go.nice_go_api] Authenticated 2024-12-03 08:26:49.363 DEBUG (MainThread) [homeassistant.components.nice_go.coordinator] Authenticated with Nice G.O. API 2024-12-03 08:26:49.363 DEBUG (MainThread) [nice_go.nice_go_api] Getting all barriers 2024-12-03 08:26:49.363 DEBUG (MainThread) [nice_go.nice_go_api] API URL: https://knlzm766jbacjfto6rvfkz77sa.appsync-api.us-east-1.amazonaws.com/graphql 2024-12-03 08:26:49.521 DEBUG (MainThread) [nice_go.nice_go_api] Got all barriers 2024-12-03 08:26:49.521 DEBUG (MainThread) [nice_go.nice_go_api] Data: {'data': {'devicesListAll': {'devices': [{'id': 'cc:7b:5c:e5:2e:b4', 'type': 'WallStation_ESP32', 'controlLevel': 'Owner', 'attr': [{'key': 'CERTIFICATE_CHANGE_ALLOWED', 'value': 'true', 'typename': 'Attribute'}, {'key': 'certArn', 'value': 'arn:aws:iot:us-east-1:318974838143:cert/5fc33e767b26a1edea97ea2909f926abfab145feab570c5887d6d0f7fe630eea', 'typename': 'Attribute'}, {'key': 'createdAt', 'value': '2024-07-13T01:33:58.994Z', 'typename': 'Attribute'}, {'key': 'organization', 'value': 'ORG/0:30744', 'typename': 'Attribute'}, {'key': 'canSee', 'value': '_ORG/0:30744:,', 'typename': 'Attribute'}], 'state': {'deviceId': 'cc:7b:5c:e5:2e:b4', 'desired': None, 'reported': '{"migrationStatus":"DONE","deviceId":"cc:7b:5c:e5:2e:b4","deviceFwVersion":"6.2.6","vcnMode":false,"barrierStatus":"0,0,0,0,0,0,3,0","lightStatus":"0,0","wifiSsid":"xxxxxxx","wifiRssi":-53,"remoteOperDisabled":false,"gdoFwVersion":"1.0","gdoModelId":0,"gdoBrandId":0,"displayName":"Garage","dst":0,"stage":""}', 'timestamp': None, 'version': None, 'connectionState': {'connected': True, 'updatedTimestamp': '1733099573292', 'typename': 'DeviceConnectionState'}, 'typename': 'DeviceState'}, 'groupIds': ['0113ea38-1624-4729-8640-5096942f8692'], 'typename': 'Device'}], 'nextToken': None, '__typename': 'Devices'}}} 2024-12-03 08:26:49.521 ERROR (MainThread) [homeassistant.components.nice_go.coordinator] Unexpected error fetching Nice G.O. data
The problem
Nice G.O. recently sent out new wall panel openers to owners of Linear garage door openers. After installation and rejoining it into the Nice G.O. app successfully, it is no longer working with the integration in Home Assistant.
I have attempted to remove and restore the opener in both the Nice G.O. app and in Home Assistant without any further success.
What version of Home Assistant Core has the issue?
core-2024.11.3
What was the last working version of Home Assistant Core?
core-2024.11.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
NICE G.O.
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nice_go
Diagnostics information
Logger: homeassistant.components.nice_go.coordinator Source: helpers/update_coordinator.py:321 integration: Nice G.O. (documentation, issues) First occurred: 6:00:26 AM (101 occurrences) Last logged: 8:17:51 AM
Unexpected error fetching Nice G.O. data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 321, in wrap_async_setup await self._async_setup() File "/usr/src/homeassistant/homeassistant/components/nice_go/coordinator.py", line 164, in _async_setup barriers = await self.api.get_all_barriers() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/nice_go/nice_go_api.py", line 608, in get_all_barriers json.loads(device["state"]["desired"]), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/json/init__.py", line 339, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, ' TypeError: the JSON object must be str, bytes or bytearray, not NoneType
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
The garage door is working correctly through the Nice G.O. application and via the newly provided remote wall panel. I see no errors or issues in the Nice G.O. application running on my iPhone.