Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since HA update 2023.7 I can not turn on Siren of my Frient smoke sensors #95978

Closed
smarthomefamilyverrips opened this issue Jul 6, 2023 · 2 comments · Fixed by #96275
Closed
Assignees
Milestone

Comments

@smarthomefamilyverrips
Copy link

smarthomefamilyverrips commented Jul 6, 2023

The problem

Since update to HA 2023.7 I am not able to control my Develco Frient Smoke/Heat Sensors Sirens, I can not toggle, turn on or turn off the siren of my Frient Devices. If I do so it gives me a missing attribute error "serialize"

What version of Home Assistant Core has the issue?

2023.7

What was the last working version of Home Assistant Core?

2023.6.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Zigbee Home Automation

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Diagnostics information

zha-7d37046b215c67f556d45b587fde1241-frient A_S HESZB-120-427a3c6af1ee25c2f5196e6cff6e2b77.json.txt

zha-7d37046b215c67f556d45b587fde1241-frient A_S SMSZB-120-56324c201fcd242258a3bf742d465bdd.json.txt

zha-7d37046b215c67f556d45b587fde1241-frient A_S SMSZB-120-ece3bad9cef5bc58ddd93062b1af192a.json.txt

Example YAML snippet

Not Available

Anything in the logs that might be useful for us?

Logger: homeassistant.helpers.script.websocket_api_script
Source: components/zha/core/cluster_handlers/security.py:330
First occurred: 11:10:01 (1 occurrences)
Last logged: 11:10:01

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'Warning' object has no attribute 'serialize'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 703, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 665, in _async_run_long_action
    return long_task.result()
           ^^^^^^^^^^^^^^^^^^
  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/helpers/entity.py", line 1274, in async_toggle
    await self.async_turn_on(**kwargs)
  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'

Additional information

None

@home-assistant
Copy link

home-assistant bot commented Jul 6, 2023

Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of zha can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign zha Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation
zha source
(message by IssueLinks)

@JMoratelli
Copy link

Same here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants