Can anyone help a beginner with icon change state?

Helllo all

I’m pretty new to home assistant and i really love it.
So i am in the learning fase of it.
Now i have a 3d printer that runs on repetier-server.
I also have the repetier-server on my home assistant (see screenshot)
But now i want to change the icons for bed heating and nozzle heating.
So when the bed is not heating then u get the lets say radiator-disabled icon.
radiator-disabled

And when the bed is heating u get the radiator icon.
radiator

I think this is the class that repetier-server in home assistant is using:
class RepetierTempSensor(RepetierSensor):
“”“Represent a Repetier temp sensor.”""

@property
def native_value(self):
    """Return sensor state."""
    if self._state is None:
        return None
    return round(self._state, 2)

def update(self):
    """Update the sensor."""
    if (data := self._get_data()) is None:
        return
    state = data.pop("state")
    temp_set = data["temp_set"]
    _LOGGER.debug("Printer %s Setpoint: %s, Temp: %s", self.name, temp_set, state)
    self._attributes.update(data)
    self._state = state

(sorry for the language mistakes i come from the Netherlands)

Screenshot of my printer in home assistant:

  • List item