home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.08k stars 31.09k forks source link

esphome: ccs811 volatile organic compound not using correct unit of measurement #85344

Closed Vrobenmat closed 1 year ago

Vrobenmat commented 1 year ago

The problem

Entity sensor.ccs811_total_volatile_organic_compound (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) 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+esphome%22

What version of Home Assistant Core has the issue?

2023.1.1

What was the last working version of Home Assistant Core?

2022.12.9

What type of installation are you running?

Home Assistant Core

Integration causing the issue

esphome

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

sensor:
  - platform: ccs811
    eco2:
      name: "CCS811 eCO2 Value"
    tvoc:
      name: "CCS811 Total Volatile Organic Compound"
    temperature: g_temp
    humidity: g_humd

Anything in the logs that might be useful for us?

No response

Additional information

No response

xconverge commented 1 year ago

dupe of https://github.com/home-assistant/core/issues/85170