mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
Light & Switch Inverted Restore mode (#1810)
This commit is contained in:
@@ -11,6 +11,8 @@ enum GPIOSwitchRestoreMode {
|
||||
GPIO_SWITCH_RESTORE_DEFAULT_ON,
|
||||
GPIO_SWITCH_ALWAYS_OFF,
|
||||
GPIO_SWITCH_ALWAYS_ON,
|
||||
GPIO_SWITCH_RESTORE_INVERTED_DEFAULT_OFF,
|
||||
GPIO_SWITCH_RESTORE_INVERTED_DEFAULT_ON,
|
||||
};
|
||||
|
||||
class GPIOSwitch : public switch_::Switch, public Component {
|
||||
|
||||
Reference in New Issue
Block a user