From d4703a93c1bffb48010ac35cf8e12fef18c91efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=A8=D1=83=D1=82?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Tue, 19 Mar 2024 10:02:49 +0300 Subject: [PATCH] ZONT: fix validate sensor --- custom_components/zont_ha/core/models_zont.py | 2 +- custom_components/zont_ha/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/zont_ha/core/models_zont.py b/custom_components/zont_ha/core/models_zont.py index 48cd240..b1603d1 100644 --- a/custom_components/zont_ha/core/models_zont.py +++ b/custom_components/zont_ha/core/models_zont.py @@ -49,7 +49,7 @@ class SensorZONT(BaseEntityZONT): type: str status: str value: float | None = None - unit: str + unit: str | None class OTSensorZONT(SensorZONT): diff --git a/custom_components/zont_ha/manifest.json b/custom_components/zont_ha/manifest.json index 64d36c8..78d499e 100644 --- a/custom_components/zont_ha/manifest.json +++ b/custom_components/zont_ha/manifest.json @@ -7,5 +7,5 @@ "integration_type": "hub", "dependencies": ["http", "zeroconf"], "requirements": [], - "version": "0.4.4" + "version": "0.4.5" } \ No newline at end of file