I recently had to replace an old Zigbee bulb that had stopped working properly. How do you handle this? Do you manually replace all instances of this device in all automations, scenes, etc.? Or is there a magic button I am not aware of that makes this easier? At least I could use Spook to let me know which places I need to look at, but especially for scenes it is a pain because you need to reconfigure the settings for the device manually.

you are viewing a single comment's thread
view the rest of the comments
[–] 17 points 4 months ago* (last edited 4 months ago) (2 children)

@EarMaster Someone else here on Fedi taught me a trick for that!You create device groups and add the devices you want to them. Doesn't matter if it's only for one lightbulb, you create a group for it.Then you build your automations targeting the group, and not the device(s) inside of it.To help with clutter, you can even hide the individual devices from the UI.Now, when you need to replace that device, you add the replacement to the group, remove the failed/old one, and it's done! No need to scour automations and scripts, or to redo your cards or dashboards!I'll update the post in a few hours with the link to the person who taught me this, can't do it right now.Edit: As promised, linking to @unixorn, who was the one that taught me this: hachyderm.io/@unixorn/11529431

  • source
  • hideshow 2 child comments
  • [–] 2 points 4 months ago*

    This feels like an overly complicated solution to a problem that can be solved by simply making sure the new device has the same entity id as the old…

    Not trying to be rude, because your solution does work. It just adds so much overhead to setup.

  • source
  • parent