mirror of
https://github.com/esphome/esphome.git
synced 2026-10-03 01:35:59 +00:00
[modbus] More clean-up (#7921)
This commit is contained in:
@@ -97,7 +97,7 @@ void ModbusSwitch::write_state(bool state) {
|
||||
}
|
||||
}
|
||||
this->parent_->queue_command(cmd);
|
||||
publish_state(state);
|
||||
this->publish_state(state);
|
||||
}
|
||||
// ModbusSwitch end
|
||||
} // namespace modbus_controller
|
||||
|
||||
Reference in New Issue
Block a user