-
Notifications
You must be signed in to change notification settings - Fork 47
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
send_command to helper group #254
Comments
I just tried typing the Entity ID into the field and while the autocomplete doesn't work, upon saving the automation, the Entity ID is resolved to the correct Name value. But, running the action results in "Unknown error" |
Autocomplete of the helper group entity does work after the initial manual typing of the Entity ID and saving. But running command still does not work (same "Unknown error" each time) |
I tried another way, by creating a device group within Hubitat and exposing that to HA via the Maker API. This gets the group "device" to show in the Entity dropdown via autocomplete, but sending a |
Sending command to a Home Assistant group probably won't work, at least not without updating the integration. The integration's A Hubitat group has better odds of working, because it will be a Hubitat device that can be addressed by the integration. It sounds like that solution may need some work, too. I've never tried using |
I just tried using a Hubitat light group, and HA seems to be able to interact with it in the same way as a normal light. I was able to use What kind of device group did you create in Hubitat? You can get the device capabilities to see what commands the device group supports. |
Agreed, I can turn the lights connected to the dimmers on from HA, as your test confirmed. I created a group of Dimmers in the Hubitat "Groups and Scenes" app (group Type = "Group-2.1"). My actual dimmers are Inovelli Red Z-Wave dimmers (model LZW31-SN), which have an LED notification bar next to the physical paddle switch. For an individual dimmer, I'm able to send (via both Hubitat and HA) a I'm attaching the output of the capabilities from the Maker API for both an individual dimmer that's a member of the group, and for the group "device" itself. Group device Capabilities.json Edit: Here's the relevant section of the debut log when I attempt to send the |
What about the commands for each device? The info you pulled from Hubitat for each device should also have included a {
"id": "15",
"name": "Virtual Window",
...
"attributes": [
...
],
"capabilities": [
...
],
"commands": [
"close",
"open"
]
} The fact that trying to issue a |
Looks like you nailed it, the commands for the Group device are only: |
I was hoping this HA blueprint/script would work: I'm guessing this can't currently be used because that script is attempting to send the commands via the HA Z-wave native integration, and I'm attempting to use your HA-Hubitat integration (and, therefore, the Maker API). EDIT: I guess it can't work the way I'd hoped, since the Maker API is limited to the commands noted above. So close, yet so far :) |
I'm going to close this since it doesn't seem like there's an issue with the integration. Regarding z-wave, have you considered getting an adapter and moving your z-wave devices over to HA? |
Agreed on closing this, thanks. Appreciate the suggestion but my HA is a VM and I'm sure adding radio heard is possible, the Hubitat has been solid for me so I'd prefer to keep using it. |
Describe the bug
Not able to use
Hubitat: send_command
to send to helper groupsI'd like to use
Hubitat: send_command
to send the same command to multiple devices, e.g., multiple Inovelli Red dimmer switches. I've created a helper Group that includes all the light entities, but cannot choose that group in the "Entity*" dropdown within thehubitat.send_command
action config screen.To Reproduce
Group
helper and add the appropriate entities as membersScreenshots
N/AEnvironment
Home Assistant version: <2024.2.0>
Integration version: <0.9.22>
The text was updated successfully, but these errors were encountered: