[modbus] More clean-up (#7921)

This commit is contained in:
Keith Burzinski
2024-12-06 15:41:53 +13:00
committed by GitHub
parent b0e3ac01e8
commit 749a5e3348
2 changed files with 6 additions and 6 deletions
@@ -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