Replacing devices when using Device Triggers/Actions

Once in a while I had to replace some plug or light which was referenced in automations using a Device Trigger or Action. Of course now I have to update all automations manually so that they use the new device.

When using entity_id, this is easy to solve, because I can always give the new device the same entity id as the replaced one, and all automations will just keep working. But I prefer using Device Triggers since they are nicer to use from the UI.

How do you guys handle this? Any suggestions to automatically replace a device with another?

OZW has this thing called “replace node”, where you can add a new device that replaces an old one. It would be nice to have something like that in HA for any device.

1 Like