def METHOD_NAME(self, temperature: float) -> None:
    if self._target_hotend_temperature != temperature:
        self._target_hotend_temperature = temperature
        self.targetHotendTemperatureChanged.emit()