We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4151c commit f0c29c7Copy full SHA for f0c29c7
homeassistant/util/unit_conversion.py
@@ -174,9 +174,7 @@ class CarbonMonoxideConcentrationConverter(BaseUnitConverter):
174
UNIT_CLASS = "carbon_monoxide"
175
_UNIT_CONVERSION: dict[str | None, float] = {
176
CONCENTRATION_PARTS_PER_MILLION: 1,
177
- # concentration (mg/m3) = 0.0409 x concentration (ppm) x molecular weight
178
- # Carbon monoxide molecular weight: 28.01 g/mol
179
- CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER: 0.0409 * 28.01,
+ CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER: 1.145609,
180
}
181
VALID_UNITS = {
182
CONCENTRATION_PARTS_PER_MILLION,
0 commit comments