I’ve got two zwave switches that are in my HA, entities as follows:
switch.zen23_toggle_switch_switch
switch.zen23_toggle_switch_switch_2
I’m looking to “Group” these into one master switch, so when the sunsets/rises I can turn them on or off.
In Node RED, I don’t see a quick way to turn off/on a group of “switches”. I keep going into the “Light” domain, but these are switches. How can I group these switches into a object so I can turn them off/on ?
I can, I thought there would be a way to group these so I could manage a “Group” and add new switches to the group as I buy more. Just trying to think ahead a bit, if adding them into the entity separately works and that’s the only solution, I’ll just do that.
You’ve probably found that your solution works fine. It works for me.
However, I’m looking for a way to do what you’re doing, but with groups containing entities from both the light and the switch domains. I’ve searched these forums and found only this, which has no replies.
I have defined several groups in groups.yaml. I can call up one of the groups in Node-RED and turn it on or off, but only using the switch domain; as it happens, all of the entities in that particular group are in the switch domain. I have other groups that are mixed entities of both light and switch domains. I have no idea how to call those using Node-RED.
My purpose for doing this is that each time I add a device, I don’t want to have to go through and modify a bunch of Node-RED flows; I’d like to just update groups.yaml and be done with it.
EDIT: This works because all of the entities in the group are in the switch domain. But if I add an entity in the light domain, it no longer works:
I’ve moved in my new house and slowly installing the zwave switches, so I haven’t had much time in the software side of things. So no, I’ve still go each one listed on a separate node. I’m hoping to revisit this soon!