[modbus] More clean-up (#7921)

This commit is contained in:
Keith Burzinski authored and GitHub committed 2024-12-06 15:41:53 +13:00
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