-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong state class for flow_rate sensors #134
Comments
The flow-rate sensors have also problems with their unit: 2023-09-20 00:10:58.308 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.luxtronik2_heat_amount_flow_rate (<class 'custom_components.luxtronik2.sensor.LuxtronikSensorEntity'>) is using native unit of measurement 'l/h' which is not a valid unit for the device class ('water') it is using; expected one of ['ft³', 'CCF', 'L', 'm³', 'gal']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. |
|
* Fix wrong SensorDeviceClass in C0155_HEAT_AMOUNT_FLOW_RATE and C0173_HEAT_SOURCE_FLOW_RATE #134
Is this fixed? |
With the update, I did not see these errors any more. |
After updating to Preview 2023.09.19:
2023-09-20 00:10:57.817 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.luxtronik2 entity: sensor.luxtronik2_heat_amount_flow_rate
2023-09-20 00:10:57.818 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.luxtronik2_heat_amount_flow_rate (<class 'custom_components.luxtronik2.sensor.LuxtronikSensorEntity'>) is using state class 'measurement' which is impossible considering device class ('water') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-09-20 00:10:57.825 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.luxtronik2 entity: sensor.luxtronik2_heat_source_flow_rate
2023-09-20 00:10:57.826 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.luxtronik2_heat_source_flow_rate (<class 'custom_components.luxtronik2.sensor.LuxtronikSensorEntity'>) is using state class 'measurement' which is impossible considering device class ('water') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
The text was updated successfully, but these errors were encountered: