[modbus] More clean-up (#7921)
This commit is contained in:
1 parent
b0e3ac01e8
commit
749a5e3348
2 files changed
+6
-6
No files matched your search
@@ -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