Skip to content

Commit

Permalink
Add units ug/m³, ug/m3 and ug/m^3 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed May 3, 2024
1 parent 74aa148 commit ea307fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion custom_components/iaquk/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Base component constants
NAME: Final = "Indoor Air Quality UK Index"
DOMAIN: Final = "iaquk"
VERSION: Final = "1.6.7"
VERSION: Final = "1.6.8-alpha"
ISSUE_URL: Final = "https://github.com/Limych/ha-iaquk/issues"

STARTUP_MESSAGE: Final = f"""
Expand Down Expand Up @@ -70,6 +70,9 @@
"µg/m³": 1, # Target unit -- conversion rate will be ignored
"µg/m3": 1,
"µg/m^3": 1,
"ug/m³": 1,
"ug/m3": 1,
"ug/m^3": 1,
"mg/m³": 1000,
"mg/m3": 1000,
"mg/m^3": 1000,
Expand All @@ -81,6 +84,9 @@
"µg/m³": 0.001,
"µg/m3": 0.001,
"µg/m^3": 0.001,
"ug/m³": 0.001,
"ug/m3": 0.001,
"ug/m^3": 0.001,
}

MWEIGTH_TVOC: Final = 78.9516 # g/mol
Expand Down
2 changes: 1 addition & 1 deletion custom_components/iaquk/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "calculated",
"issue_tracker": "https://github.com/Limych/ha-iaquk/issues",
"requirements": [],
"version": "1.6.7"
"version": "1.6.8-alpha"
}

0 comments on commit ea307fd

Please sign in to comment.