Closed bbr111 closed 1 year ago
Should be fixed in the next update... Though I don't known what device has a capability without a "type"
i have just the same problem.
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.livisi Source: custom_components/livisi/livisi_connector.py:276 Integration: Livisi Unofficial (documentation, issues) First occurred: 08:05:38 (1 occurrences) Last logged: 08:05:38
Error getting device state Traceback (most recent call last): File "/config/custom_components/livisi/livisi_connector.py", line 276, in async_get_device_state response = await self.async_send_authorized_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livisi/livisi_connector.py", line 100, in async_send_authorized_request return await self._async_request(method, url, payload, auth_headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livisi/livisi_connector.py", line 151, in _async_request if "errorcode" in response: ^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable
System Health details
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livisi/coordinator.py", line 83, in _async_update_data return await self.async_get_devices() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livisi/coordinator.py", line 103, in async_get_devices devices = await self.aiolivisi.async_get_devices() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livisi/livisi_connector.py", line 209, in async_get_devices capability_map[device_id][capability["type"]] = capability["id"]