Open bachya opened 7 months ago
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zwave_js documentation zwave_js source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Still open.
+1. Ran into this issue myself.
The "ugly hack" that I used, in case anyone else runs into this issue in the future before it gets fixed, is to add all the entities I want to control to a group, and then use templates to extract the entity IDs from that group.
service: zwave_js.multicast_set_value
metadata: {}
data:
command_class: "38"
endpoint: "0"
property: Down
value: true
target:
entity_id: >-
{{ expand(state_attr('light.shades',
'entity_id'))|map(attribute='entity_id')|list }}
I'm sure it's possible to do it more elegantly by writing a template based on the label but this works for me.
The problem
I cannot call this service with a label as a target, even though the UI allows for labels as targets. This action:
...shows the error below.
Note that this alteration:
...does work as expected.
What version of Home Assistant Core has the issue?
core-2024.4.1
What was the last working version of Home Assistant Core?
N/A
What type of installation are you running?
Home Assistant OS
Integration causing the issue
zwave_js
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zwave_js/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response