When attempting to issue the image_notify OTA cluster command via the UI I receive the error "Failed to call service zha/issue_zigbee_cluster_command. Value for field 'payload_type' is required"
Tested with an Ikea Tradfri device using a Sonoff Zigbee USB Dongle 3.0 controller. Rolling back to HA Core 2022.3.8 resolves the issue.
2022-05-03 08:52:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548039605024] Value for field 'payload_type' is required
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1634, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 747, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 1149, in issue_zigbee_cluster_command
response = await zha_device.issue_cluster_command(
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 647, in issue_cluster_command
response = await cluster.client_command(command, *args)
File "/usr/local/lib/python3.9/site-packages/zigpy/zcl/__init__.py", line 310, in reply
payload = request.serialize()
File "/usr/local/lib/python3.9/site-packages/zigpy/types/struct.py", line 209, in serialize
for field, value in self.assigned_fields(strict=True):
File "/usr/local/lib/python3.9/site-packages/zigpy/types/struct.py", line 177, in assigned_fields
raise ValueError(f"Value for field {field.name!r} is required")
ValueError: Value for field 'payload_type' is required
The problem
When attempting to issue the image_notify OTA cluster command via the UI I receive the error "Failed to call service zha/issue_zigbee_cluster_command. Value for field 'payload_type' is required"
Tested with an Ikea Tradfri device using a Sonoff Zigbee USB Dongle 3.0 controller. Rolling back to HA Core 2022.3.8 resolves the issue.
What version of Home Assistant Core has the issue?
2022.4.7
What was the last working version of Home Assistant Core?
2022.3.8
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-05-03 08:52:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548039605024] Value for field 'payload_type' is required Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1634, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 747, in admin_handler await result File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 1149, in issue_zigbee_cluster_command response = await zha_device.issue_cluster_command( File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 647, in issue_cluster_command response = await cluster.client_command(command, *args) File "/usr/local/lib/python3.9/site-packages/zigpy/zcl/__init__.py", line 310, in reply payload = request.serialize() File "/usr/local/lib/python3.9/site-packages/zigpy/types/struct.py", line 209, in serialize for field, value in self.assigned_fields(strict=True): File "/usr/local/lib/python3.9/site-packages/zigpy/types/struct.py", line 177, in assigned_fields raise ValueError(f"Value for field {field.name!r} is required") ValueError: Value for field 'payload_type' is requiredAdditional information
No response