PROBLEM: Light bulbs burn out. Switches and sensors break. I buy a new cell phone every few years!
SOLUTION: I want a wizard to replace an existing sensor with another one. The wizard needs to update / edit the exiting automations. It should replace the old device references / usage inside automations with the new device.
E.G. I have a rule turning a light bulb on 1/2 hour before sun-set. The light bulb dies. I buy a replacement. I want a way to replace / swap / exchange at the device level. This should;
- New wizard asks to backup the system.
- New wizard shows you a list of all automations it will update. It asks — Should I continue replacing
old device name
withnew device name
? [Y/N] - Put the new device into the same room as the old device
- Update all existing automations to use the new device
- Remove the old device from automation.
- Move the old device to “unassigned” room.
- Bonus Points: HA asks the admin — Should Home Assistant delete device? [Y/N]
- Bonus Points: Rename new device name to the old device name