diff --git a/esphome/components/seeedmultichannelrelay/switch/seeedmultichannelrelay_switch.cpp b/esphome/components/seeedmultichannelrelay/switch/seeedmultichannelrelay_switch.cpp index add9a624e1..a05f71557a 100644 --- a/esphome/components/seeedmultichannelrelay/switch/seeedmultichannelrelay_switch.cpp +++ b/esphome/components/seeedmultichannelrelay/switch/seeedmultichannelrelay_switch.cpp @@ -63,7 +63,7 @@ void SeeedMultiChannelRelaySwitch::write_state(bool state) { } // This will be called every time the user requests a state change. - this->parent_->relay_write(this->channel_ -1, state); + this->parent_->relay_write(this->channel_ - 1, state); // Acknowledge new state by publishing it this->publish_state(state);