Automations got deleted after re-pairing a remote

That’s your problem.

Delete a device and all automations where the device_id is used will disappear.

There are other reasons not to use device triggers, conditions and actions. They are a simple way to start but are not easy to maintain.

2 Likes