mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 12:22:20 +01:00
add-mcp23008-support
This commit is contained in:
@@ -28,7 +28,7 @@ class GPIOSwitch : public switch_::Switch, public Component {
|
||||
void set_interlock(const std::vector<Switch *> &interlock);
|
||||
|
||||
protected:
|
||||
void write_state(bool state) override;
|
||||
void write_state_(bool state) override;
|
||||
|
||||
GPIOPin *pin_;
|
||||
GPIOSwitchRestoreMode restore_mode_{GPIO_SWITCH_RESTORE_DEFAULT_OFF};
|
||||
|
Reference in New Issue
Block a user