dolezsa / thermal_comfort

Thermal Comfort sensor for HA (absolute humidity, heat index, dew point, thermal perception)
Other
584 stars 109 forks source link

`g/m³` is not a valid measurement unit for `humidity` device class #240

Closed laszlojakab closed 1 year ago

laszlojakab commented 1 year ago

Description

I get this warning message in logs when Home Assistant starts:

WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.bathroom_absolutehumidity (<class 'custom_components.thermal_comfort.sensor.SensorThermalComfort'>) is using native unit of measurement 'g/m³' which is not a valid unit for the device class ('humidity') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

HA core version: 2023.1.1

rautesamtr commented 1 year ago

thx for the report but already fixed in master 668767b