Closed 13werwolf13 closed 2 months ago
Cannot reproduce the issue because it is not related to HA version.
There's definitely some kind of problem. It failed with "Unable to discover the device over the cloud" with the 3 second timeout for the API call. I increase the timeout in the code and now it's stuck at
2024-08-31 11:21:31.783 WARNING (MainThread) [custom_components.dreame_vacuum] Integration start failed: Traceback (most recent call last):
File "/config/custom_components/dreame_vacuum/coordinator.py", line 437, in _async_update_data
await self.hass.async_add_executor_job(self._device.update)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 2812, in update
self.connect_device()
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 2038, in connect_device
self._request_properties()
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 695, in _request_properties
result = self._protocol.get_properties(props[:15])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 1241, in get_properties
return self.send("get_properties", parameters=parameters, retry_count=retry_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 1230, in send
response = self.device_cloud.send(method, parameters=parameters, retry_count=retry_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 427, in send
if api_response is None or "data" not in api_response or "result" not in api_response["data"]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2024-08-31 11:21:31.783 INFO (MainThread) [custom_components.dreame_vacuum.dreame.device] Disconnect
2024-08-31 11:21:31.823 DEBUG (MainThread) [custom_components.dreame_vacuum] Finished fetching dreame_vacuum data in 8.543 seconds (success: False)
@seidler2547 even there is a problem that is isolated to your setup and logs does not indicate otherwise so i cannot do anything.
Describe the bug after homeassistant upgrade to version
2024.8.2
integration can't startScreenshots
Additional Information (please complete the following information)