Replace broken device on zigbee2mqtt

Hi, folks,

I use zigbee2mqtt and one of the TRVs has died. I’d like to replace it with an identical device. I could, of course, delete the old one and add a new one, but then I have to update all automation.

Is there a way to replace the TRV’s zigbee address somewhere in the config? I tried in the zigbee’s configuration.yaml, however this doesn’t seem to work properly. There must be a deeper hack needed to make it work.

Thanks

Why? Just remove device and restart home assistant. Add new device with the same name and there you go.

1 Like

Hm, maybe I’m over-complicating… so, I should remove the old device, add the new device with the same name as the old one had and reboot should work?

Thanks

1 Like

If your automations are specifying the device by entity ID (instead of device ID) then just add a new device, give it the same name as the old one and make sure it’s entity ID names match the old one exactly. And boom done…

If however you’re using device id’s in your automation you’re rebuilding them with the new device. (and I’d rebuild them using entity id’s)

1 Like

Thanks, I’ll try it over the weekend.

1 Like