From ea307fd1b86eb93b742fb02c7f955883e6760835 Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Fri, 3 May 2024 13:42:45 +0300 Subject: [PATCH] =?UTF-8?q?Add=20units=20ug/m=C2=B3,=20ug/m3=20and=20ug/m^?= =?UTF-8?q?3=20(#111)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/iaquk/const.py | 8 +++++++- custom_components/iaquk/manifest.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/custom_components/iaquk/const.py b/custom_components/iaquk/const.py index 08e051e..316ba27 100644 --- a/custom_components/iaquk/const.py +++ b/custom_components/iaquk/const.py @@ -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""" @@ -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, @@ -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 diff --git a/custom_components/iaquk/manifest.json b/custom_components/iaquk/manifest.json index 898e4d7..9b16bd2 100644 --- a/custom_components/iaquk/manifest.json +++ b/custom_components/iaquk/manifest.json @@ -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" } \ No newline at end of file