Skip to content

Commit ea307fd

Browse files
committed
Add units ug/m³, ug/m3 and ug/m^3 (#111)
1 parent 74aa148 commit ea307fd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

custom_components/iaquk/const.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Base component constants
77
NAME: Final = "Indoor Air Quality UK Index"
88
DOMAIN: Final = "iaquk"
9-
VERSION: Final = "1.6.7"
9+
VERSION: Final = "1.6.8-alpha"
1010
ISSUE_URL: Final = "https://github.com/Limych/ha-iaquk/issues"
1111

1212
STARTUP_MESSAGE: Final = f"""
@@ -70,6 +70,9 @@
7070
"µg/m³": 1, # Target unit -- conversion rate will be ignored
7171
"µg/m3": 1,
7272
"µg/m^3": 1,
73+
"ug/m³": 1,
74+
"ug/m3": 1,
75+
"ug/m^3": 1,
7376
"mg/m³": 1000,
7477
"mg/m3": 1000,
7578
"mg/m^3": 1000,
@@ -81,6 +84,9 @@
8184
"µg/m³": 0.001,
8285
"µg/m3": 0.001,
8386
"µg/m^3": 0.001,
87+
"ug/m³": 0.001,
88+
"ug/m3": 0.001,
89+
"ug/m^3": 0.001,
8490
}
8591

8692
MWEIGTH_TVOC: Final = 78.9516 # g/mol

custom_components/iaquk/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"iot_class": "calculated",
1111
"issue_tracker": "https://github.com/Limych/ha-iaquk/issues",
1212
"requirements": [],
13-
"version": "1.6.7"
13+
"version": "1.6.8-alpha"
1414
}

0 commit comments

Comments
 (0)