Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:811
Integration: Switch (documentation, issues)
First occurred: 12:30:00 AM (12 occurrences)
Last logged: 12:50:12 AM
meross_cloud: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.14/asyncio/tasks.py", line 488, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/meross_iot/manager.py", line 922, in _async_send_and_wait_ack
return await asyncio.wait_for(future, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/tasks.py", line 487, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/timeouts.py", line 114, in __aexit__
raise TimeoutError from exc_val
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 811, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1367, in async_device_update
await self.async_update()
File "/config/custom_components/meross_cloud/switch.py", line 67, in async_update
self._daily_consumption = await self._device.async_get_daily_power_consumption(channel=self._channel_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/meross_iot/controller/mixins/consumption.py", line 33, in async_get_daily_power_consumption
result = await self._execute_command(method="GET",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
timeout=timeout)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/meross_iot/controller/device.py", line 308, in _execute_command
return await self._manager.async_execute_cmd(destination_device_uuid=self.uuid,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
mqtt_port=self.mqtt_port)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/meross_iot/manager.py", line 849, in async_execute_cmd
return await self.async_execute_cmd_client(client=client,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
timeout=timeout)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/meross_iot/manager.py", line 903, in async_execute_cmd_client
response = await self._async_send_and_wait_ack(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
File "/usr/local/lib/python3.14/site-packages/meross_iot/manager.py", line 929, in _async_send_and_wait_ack
raise CommandTimeoutError(message=str(message), target_device_uuid=target_device_uuid, timeout=timeout)
meross_iot.model.exception.CommandTimeoutError
Describe the bug
Just update Home Assistant and Meross Cloud Integration, I cannot toggle mains and see energy consumption, while power and other sensors are still available.
Your environment
HomeAssistant Version : 2026.5.2
Hardware environment: HAOS 17.3
Logs