Closed totalamateurhour closed 6 months ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (sensor
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
sensor documentation sensor source (message by IssueLinks)
We can't rename or reclassify an existing device class. It means what it says it means.
If another device class is needed, that's a different discussion.
The problem
The device class
nitrous_oxide
is defined as "Concentration of Nitrous Oxide in µg/m³" in the Sensor documentation and it follows these two classesnitrogen_dioxide
: Concentration of Nitrogen Dioxide in µg/m³nitrogen_monoxide
: Concentration of Nitrogen Monoxide in µg/m³Nitrous Oxide is N2O, nicknamed "laughing gas", per Wikipedia.
Rather than for N2O, it makes more sense that the device class was intended for measuring the combination of the previous two gasses, or NOx, which is shorthand for nitric oxide (NO, aka nitrogen monoxide) and nitrogen dioxide (NO2), the nitrogen oxides that are most relevant for air pollution, again per Wikipedia.
The device class
nitrous_oxide
should be renamednitrogen_oxides
.What version of Home Assistant Core has the issue?
2024-5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
No response
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sensor/#device-class
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response