Configure your smart switch module to work with Tasmota open source firmware.
Templates - Tasmota
Shelly 1 flashing with Espeasy – braindump
Hacking Unknown 2 Channel Relay With Tasmota - John's Tech Blog
Shelly 1PM Power Monitoring Switch Module Configuration for Tasmota
Created a DIY Irrigation Control Module. Tasmota rule to allow only 1 Relay at a time. Pulsetime 6 minutes in case WiFi goes out and Home Assistant automation can't turn off relay.
Shelly Plus 1 Switch Module (SNSW-001X16EU) Configuration for Tasmota
Temperature Alarms: Using openHAB 3, Tasmota, & Shelly 1, by Rob Clark
Shelly Add-on Temperature Sensor Configuration for Tasmota
Shelly Dimmer Dimmer Module Configuration for Tasmota