-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
What happened?
Seems that the unit of measurement for VOC shouldn't be 'ppb' if you use the current version of Home Assistant (2023.1).
What did you expect to happen?
According to https://www.home-assistant.io/integrations/sensor/ it's only allowed to be:
volatile_organic_compounds: Concentration of volatile organic compounds in µg/m³
How to reproduce it (minimal and precise)
Use any sensor with voc, e.g. Xiaomi VOCKQJK11LM
will result in:
Entity sensor.mysensor_voc (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'ppb' which is not a valid unit for the device class ('volatile_organic_compounds') it is using; 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
Zigbee2MQTT version
1.29.1 commit: 7d67ffc
Adapter firmware version
20221102
Adapter
zStack3x0
Debug log
No response