pail23 / stiebel_eltron_isg_component

Stiebel Eltron ISG integration for Home Assistant
MIT License
43 stars 19 forks source link

Device class missing for temperature sensors #195

Closed xylone closed 3 months ago

xylone commented 4 months ago

When using a temperature sensor in a group, I get the message that one of them is missing a device_class. I found that the code is indeed missing the device class for temperature sensors. So I added it myself and tested it and it all works.

Can you please add the line device_class=SensorDeviceClass.TEMPERATURE, in: https://github.com/pail23/stiebel_eltron_isg_component/blob/c76ed6af98303f2c5767f9bc318fb20ebc6f82c8/custom_components/stiebel_eltron_isg/sensor.py#L107

pail23 commented 4 months ago

Should be solved in 2024.2