jaydeethree / Home-Assistant-weatherdotcom

Home Assistant custom component/integration for Weather.com
GNU General Public License v3.0
35 stars 5 forks source link

[BUG] Entity sensor.home_cloud_ceiling (<class 'custom_components.weatherdotcom.sensor.WeatherSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('distance') it is using #16

Closed Scoop2389 closed 8 months ago

Scoop2389 commented 8 months ago

When starting home assistant, the following message is logged:

2023-10-31 16:50:04.489 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.home_cloud_ceiling (<class 'custom_components.weatherdotcom.sensor.WeatherSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('distance') it is using; expected one of ['yd', 'km', 'in', 'cm', 'mm', 'm', 'mi', 'ft']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/jaydeethree/Home-Assistant-weatherdotcom/issues/
jaydeethree commented 8 months ago

This should have been fixed yesterday with version 1.1.2 - please upgrade to it and let me know if you continue to see problems.

Scoop2389 commented 8 months ago

Thanks, HACS didn't show an update was available until I manually checked.