mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
Update mcp4461_output.cpp
This commit is contained in:
@@ -24,7 +24,7 @@ float Mcp4461Wiper::update_state() {
|
|||||||
return this->state_;
|
return this->state_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Mcp4461Wiper::set_state() {
|
bool Mcp4461Wiper::set_state(bool state) {
|
||||||
if (state) { this->turn_on(); }
|
if (state) { this->turn_on(); }
|
||||||
else { this->turn_off(); }
|
else { this->turn_off(); }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user