I have a bunch of Zooz ZEN71 switches. I have a subset of those switches with the same label so that I can write an automation to turn all of them on at a certain time and another to turn them all off at another time and target that label_id. Works great. Even better, when I add another of those switches and add that label to it, that’s all I need to do to get it included in all of the related automations. As designed.
Now, I want to write a couple of automations, each one sending a series of zwave_js.set_config_parameter commands to that same group of switches. The only way I’ve seen to get that to work is to repeat all of the device_ids in each automation (at least only once in each by defining &my_switch_list in the first action and using it for the device_id in subsequent actions). Boohoo, adding a switch means adding its device_id to every automation.
Is there a straightforward way to make a global device-list alias that will work as the target for set_config_parameters across multiple automations? In other words, what else do I not know yet about HA?
Thanks.