I need to replace a device and insert it back into the same groups, how do I do it?

Simply disconnect the one to be replaced from the Bus, connect the new one and reset it from the single device reset menu. Once this is done, it is necessary to enter the Diagnostics menu of the By-me control panel and select Devices/Troubleshooting: at the end the control panel will indicate the lack of the device indicating its address and then select Replace; the control panel will automatically associate all the functional blocks to the groups of the replaced device, but it is necessary to setup again the functional block of the actuator on the device in the scenarios where the old one was involved (e.g. roller shade up or dimmer turned on to 30%, etc.).