From 95cc426855add0045bef3ffbd1a8fec8d8db6bcf Mon Sep 17 00:00:00 2001 From: Necroneco Date: Sat, 9 Nov 2024 18:25:54 +0800 Subject: [PATCH] fix: MICROSIEMENS_PER_CM requires 2024.11 --- custom_components/aqara_gateway/core/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/aqara_gateway/core/const.py b/custom_components/aqara_gateway/core/const.py index a5ac051..b8c2a8b 100755 --- a/custom_components/aqara_gateway/core/const.py +++ b/custom_components/aqara_gateway/core/const.py @@ -15,7 +15,7 @@ UnitOfTemperature, ) -if (MAJOR_VERSION, MINOR_VERSION) >= (2024, 7): +if (MAJOR_VERSION, MINOR_VERSION) >= (2024, 11): from homeassistant.const import UnitOfConductivity CONDUCTIVITY = UnitOfConductivity.MICROSIEMENS_PER_CM else: