mirror of
https://github.com/home-assistant/core.git
synced 2026-09-05 02:25:07 -05:00
Revert "Add comment on conversion factor for Carbon monoxide on dependency molecular weight" (#153195)
This commit is contained in:
@@ -174,9 +174,7 @@ class CarbonMonoxideConcentrationConverter(BaseUnitConverter):
|
||||
UNIT_CLASS = "carbon_monoxide"
|
||||
_UNIT_CONVERSION: dict[str | None, float] = {
|
||||
CONCENTRATION_PARTS_PER_MILLION: 1,
|
||||
# concentration (mg/m3) = 0.0409 x concentration (ppm) x molecular weight
|
||||
# Carbon monoxide molecular weight: 28.01 g/mol
|
||||
CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER: 0.0409 * 28.01,
|
||||
CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER: 1.145609,
|
||||
}
|
||||
VALID_UNITS = {
|
||||
CONCENTRATION_PARTS_PER_MILLION,
|
||||
|
||||
Reference in New Issue
Block a user