home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.57k stars 30.74k forks source link

ZHA inconsitent fields for ClusterID in automation #126285

Open neutrinus opened 1 month ago

neutrinus commented 1 month ago

The problem

I have been redirected here from https://github.com/home-assistant/frontend/issues/22035

When setting an ZHA automation that sends command to zigbee cluster there is a form: image

Please notice the sliders for setting ID. Please notice that the values for ClusterID and AtributeID (commandId too?) seem like base10 integers.

The values to set should be fetched by user from some kind of information window like (Configuration>Integrations>Zigbee>Device>Manage Zigbee Device) here: image Pleate notice that the values here for ClusterId are in hex format (like 0x0013)

I do believe that:

Bonus points for easy way to select the Cluster in automation but I do believe it's way more work for a niche use case.

What version of Home Assistant Core has the issue?

2024.9.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

neutrinus commented 1 month ago

@karwosts said:

The sliders could be removed by setting the number selector to box mode. https://www.home-assistant.io/docs/blueprint/selectors/#number-selector

home-assistant[bot] commented 1 month ago

Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, 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. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)