core: ZHA issue_zigbee_cluster_command service fails

Home Assistant release with the issue:

0.88.0

Last working Home Assistant release (if known): 0.87.1

Operating environment (Hass.io/Docker/Windows/etc.):

Docker

Component/platform:

https://www.home-assistant.io/components/zigbee/

Description of problem: The zha.issue_zigbee_cluster_command service no longer works after the 0.88.0 update. When I try to call the service in the UI I get the error: “Failed to call service zha/issue_zigbee_cluster_command.” I don’t see anything in the logs even with debug logging enabled for zha.

Example service call to turn on a light that fails:

{
  "entity_id": "light.basement_southwest_light",
  "cluster_id": 6,
  "cluster_type": "in",
  "command": 1,
  "command_type": "server"
}

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

I see the issue… the code is all correct, I forgot to update the services.yaml that contains the example and the help text… oops 😃 This will work from both places it’s just that the help info is wrong. the correct structure:

{
  "ieee": "some ieee address",
  "endpoint_id": 1,
  "cluster_id": 6,
  "cluster_type": "in",
  "command": 1,
  "command_type": "server"
}

I’ll get a PR up soon that fixes the help text. Sorry about that!