ZigBee and Z-wave
Once the driver is installed on your hub you would have to remove the device and repair it.
This will remove your automations as well. I have been swapping the device for a virtual device as a placeholder then once the device is repaired go back and swap it with the virtual placeholder. It’s a bit of work but better than recreating all my automations.
Virtual Devices
There are some amazing community members who have built virtual device drivers.
Here are a few links. You can also search virtual edge.