1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-15 15:20:27 +01:00

Update mcp4461_output.cpp

This commit is contained in:
Oliver Kleinecke 2025-02-10 11:15:30 +01:00 committed by GitHub
parent e88b0aad79
commit b2fb7cf603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ float Mcp4461Wiper::update_state() {
return this->state_;
}
bool Mcp4461Wiper::set_state(bool state) {
void Mcp4461Wiper::set_state(bool state) {
if (state) { this->turn_on(); }
else { this->turn_off(); }
}