What drives temperature sensors not to show in the same history graph?

I have several temperature sensors from my heating system. Some by means of MQTT some directly from Nefit Bosch, some from a remote Raspberry P1 through 1-Wire. The temperature readings via 1-Wire will not show in the same graph as al other when using the history tab from the side bar.

A few things needs to be right for HA to accept it, like device class and unit_of_measurement

I’ve checked the various temperature sensors, and it seems to be “device_class” attribute making the difference. This is only set at the 1-Wire temperatures from the remote Raspberry-PI.
How do I set this “device_class : temperature” attribute at all temperature enteties?
I’m a newbee in Home Assistant.

Not sure.
Sometimes it is the integration, but look what you can do in the entity settings.

See

I’ve updated the sensor with the"device_class: temperature" attribute. But it is not saved.
What I’m doing wrong?

Maybe your integration is overwriting it.

Ok, how to check if this is the case, and second how to prevent this from happening, if possible?

You should probably check with the maintainer of the integration.

You have to help me here,
Absolutly no idea how amd where to check this.

What device are sending the data and how did you integrated it into HA (what integration did you choose)?

Default integrations are used.
MQTT for four Heatbooster devices,
1-Wire integration for a remote Raspberry Pi.
Daikin integration for a AC-unit.
The temperature sensors via MQTT do not have the attribute “device_class: temperature” set.

You might be able to make your own sensors from the MQTT topics.

I will look into that option, thanks for your help so far.