Closed s1rlon closed 5 days ago
@s1rlon It is not missing it is not there because it can not be parsed according to the format. You define a sensor in loxone and give a unit of measurement by defining the format string. On the homeassistant I try to parse the format string and give the right device class. But what should I do with m³. It can be gas or water. So I decided do do nothing and you must define it separately in the customize section. There you can override the the device class to water.
Describe the bug
https://github.com/JoDehli/PyLoxone/blob/master/custom_components/loxone/sensor.py#L67
The SENSOR_TYPES tuple currently does not have a device_class water represented.
Here is an example of a water sensor in loxone:
Firmware of your Miniserver
14.5.12.7
HomeAssistant install method
docker
Version of HomeAssistant
2024.4.3
Version of Pyloxone
0.6.4
Update pyloxone
yes
Log
No response