Skip to content

Commit f0c29c7

Browse files
authored
Revert "Add comment on conversion factor for Carbon monoxide on dependency molecular weight" (home-assistant#153195)
1 parent aa4151c commit f0c29c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

homeassistant/util/unit_conversion.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,7 @@ class CarbonMonoxideConcentrationConverter(BaseUnitConverter):
174174
UNIT_CLASS = "carbon_monoxide"
175175
_UNIT_CONVERSION: dict[str | None, float] = {
176176
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,
177+
CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER: 1.145609,
180178
}
181179
VALID_UNITS = {
182180
CONCENTRATION_PARTS_PER_MILLION,

0 commit comments

Comments
 (0)