Hi,
Can someone please help me out, I just updated to HA 2023.7.0, unfortunately my ZigBee Tuya Siren TS0216 TYZB01_a5tf0bpl has stopped working. It will not trigger anymore , it keep saying Warning’ object has no attribute serialize when I tried to trigger it manually.
Any help will be appreciated .
Many thanks
Logger: homeassistant.components.websocket_api.http.connection
Source: components/zha/core/cluster_handlers/security.py:330
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 5 July 2023 at 9:54:52 pm (19 occurrences)
Last logged: 12:44:40 pm
[546818924688] ‘Warning’ object has no attribute ‘serialize’
[546809192144] ‘Warning’ object has no attribute ‘serialize’
[546944207952] ‘Warning’ object has no attribute ‘serialize’
[547010320080] ‘Warning’ object has no attribute ‘serialize’
[546822261136] ‘Warning’ object has no attribute ‘serialize’
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 205, in handle_call_service
await hass.services.async_call(
File “/usr/src/homeassistant/homeassistant/core.py”, line 1957, in async_call
response_data = await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 1997, in _execute_service
return await cast(
^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 833, in entity_service_call
response_data = task.result() # pop exception if have
^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1191, in async_request_call
return await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 877, in _handle_entity_call
result = await task
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/siren/init.py”, line 117, in async_handle_turn_on_service
await siren.async_turn_on(
File “/usr/src/homeassistant/homeassistant/components/zha/siren.py”, line 145, in async_turn_on
await self._cluster_handler.issue_start_warning(
File “/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/security.py”, line 330, in issue_start_warning
await self.start_warning(
File “/usr/local/lib/python3.11/site-packages/zigpy/util.py”, line 132, in retry
return await func()
^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py”, line 355, in request
hdr, request = self._create_request(
^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py”, line 318, in _create_request
request.serialize() # Throw an error before generating a new TSN
^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/types/struct.py”, line 250, in serialize
chunks.append(value.serialize())
^^^^^^^^^^^^^^^
AttributeError: ‘Warning’ object has no attribute ‘serialize’