I’m finishing up an install with 100+ Blue 2-1 switches. I’d like to make them dim much faster (and a few other tweaks). Is there any way to push that change to all of them rather than doing it one at a time? Running ZHA in Home Assistant.
Thanks!
I’m finishing up an install with 100+ Blue 2-1 switches. I’d like to make them dim much faster (and a few other tweaks). Is there any way to push that change to all of them rather than doing it one at a time? Running ZHA in Home Assistant.
Thanks!
Not directly, but you could use a template and script if the names follow a pattern. Basically you’d write a template that returns all the entities for a given parameter, then pass that to an action to set the number or select entry. If you don’t want to do it to all switches you could apply a label to the ones you want to be the same, then have the template only include entities linked to the devices you labeled.
There’s been a few different implementations discussed here that may be useful: Blue 2-1: Applying the same configuration to several switches?
I don’t know if this is applicable to ZHA, but Z2M keeps all its configuration in text files.
If ZHA is the same, it’s much easier to copy/paste a block of text many times and tweak the name/ID in each one.
Alternatively, if ZHA exposes the parameters as entities like Z2M does, you could create Home Assistant group helpers and then change them all at once that way. (You can also make groups with the configuration.yaml file instead of clicking to do it.)
This topic was automatically closed 67 days after the last reply. New replies are no longer allowed.