Change Shelly device to detached mode on a schedule
One of the features of Shelly smart relays and devices is the ability to sever the connection from the physical switch from the actual relay. This opens the possibility to control the switch itself without starting the relay. For instance, you can use the physical switch to turn on another device or service.