A script for Shelly devices that automatically switches between "smart" and "dumb" modes based on Home Assistant connectivity. Perfect for setups where you want smart home functionality when Home Assistant is available, but need traditional switch functionality during outages.
Originally developed for controlling smart bulbs (like Philips Hue) where:
- Shelly device controls power to smart bulbs
- Physical switch input is used as a trigger for Home Assistant automations
- Power to smart bulbs remains always on during normal operation