Open Vladx71 opened 1 month ago
Donation bot here. Supporters can mark their interest in this issue by adding a comment starting with "+1" (without quotes) or adding the "#supporter_sponsor" keyword (without quotes) in their comments.
You can become a donor by subscribing as Sponsor from the GitHub sponsorship page or from the BuyMeACoffee page.
Issues marked by donors will be labeled accordingly and handled with special care
Hi,
I have garage door openers and smart hub and I got the following errors constantly in the log
2024-10-16 09:58:02.310 ERROR (MainThread) [meross_iot.controller.device] GenericSubDevice does not implement any GET_ALL namespace. Update won't be performed. 2024-10-16 09:58:02.315 ERROR (MainThread) [homeassistant.components.sensor] meross_cloud: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 724, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1300, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 313, in async_update await super().async_update() File "/config/custom_components/meross_cloud/__init__.py", line 241, in async_update await self._device.async_update() File "/usr/local/lib/python3.12/site-packages/meross_iot/controller/device.py", line 454, in async_update result = await self._hub._execute_command(method="GET", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/meross_iot/controller/device.py", line 308, in _execute_command return await self._manager.async_execute_cmd(destination_device_uuid=self.uuid, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/meross_iot/manager.py", line 852, in async_execute_cmd return await self.async_execute_cmd_client(client=client, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/meross_iot/manager.py", line 901, in async_execute_cmd_client message, message_id = self._build_mqtt_message(method, namespace, payload, destination_device_uuid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/meross_iot/manager.py", line 977, in _build_mqtt_message raise ValueError("Namespace parameter must be a Namespace enum or a string.") ValueError: Namespace parameter must be a Namespace enum or a string.
Is there any fix for this?