hjelev / rpi-mqtt-monitor

Raspberry Pi MQTT Monitor gathers system information and sends it to a MQTT server.
GNU General Public License v3.0
187 stars 43 forks source link

Device_Class for Temperature added #137

Closed amse2000 closed 1 month ago

amse2000 commented 1 month ago

Added data["device_class"] = "temperature" to align with other temperature values.

amse2000 commented 1 month ago

I missed it for config: device + "_temp"

Maybe there are also some other userful device_classes: https://www.home-assistant.io/integrations/sensor#device-class