thejeffreystone / hassio_addons

Apache License 2.0
45 stars 26 forks source link

Illuminance not valid for device class #50

Open rob7419 opened 1 year ago

rob7419 commented 1 year ago

Getting one more error log entry pertaining to invalid value for a deice class.

Logger: homeassistant.components.sensor Source: components/sensor/init.py:648 Integration: Sensor (documentation, issues) First occurred: 6:05:28 AM (2 occurrences) Last logged: 6:05:28 AM

Entity sensor.acurite_atlas_atlas_weather_953_lux (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'lux' which is not a valid unit for the device class ('illuminance') it is using; expected one of ['lx']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 Entity sensor.acurite_atlas_atlas_weather_953_uv (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'UV Index' which is not a valid unit for the device class ('irradiance') it is using; expected one of ['BTU/(h⋅ft²)', 'W/m²']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

rob7419 commented 10 months ago

Still receiving this as an error message in the Home Assistant logs?? Just need the value changed from "lux" to"lx".