From b7177de6f6790bd0151bde6d440b894050a2c56b Mon Sep 17 00:00:00 2001 From: jontofront Date: Wed, 16 Oct 2024 16:00:36 +0300 Subject: [PATCH] changer ver add chngelog --- CHANGELOG.md | 12 ++++++++++++ custom_components/econet300/manifest.json | 2 +- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87fdc94..814fdc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,5 +84,17 @@ Thank for @pblxptr add new code line from him - Separated entity by types for better management - Moved Mixer sensors to the Mixer sensor group and added icons +## [v1.0.3-beta] 2024-10-15 +### Added +- Introduced new `ServoMixer1` state handling with predefined Home Assistant states (`STATE_OFF`, `STATE_CLOSING`, `STATE_OPENING`). +- Added logging for non-numeric values in sensor processing to improve debugging. + +### Changed +- Updated `ENTITY_VALUE_PROCESSOR` to use predefined Home Assistant states for `ServoMixer1`. +- Improved error handling in `create_controller_sensors` to skip non-numeric values and log warnings. + +### Fixed +- Fixed `ValueError` caused by non-numeric values in sensor state processing. +- Resolved Mypy type incompatibility issue in `STATE_CLASS_MAP` by removing the `servoMixer1` entry with `None` value. diff --git a/custom_components/econet300/manifest.json b/custom_components/econet300/manifest.json index 1b71540..eab048e 100644 --- a/custom_components/econet300/manifest.json +++ b/custom_components/econet300/manifest.json @@ -13,6 +13,6 @@ "issue_tracker": "https://github.com/jontofront/ecoNET-300-Home-Assistant-Integration/issues", "requirements": [], "ssdp": [], - "version": "v1.0.2-beta", + "version": "v1.0.3-beta", "zeroconf": [] } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1e675d6..27e4c39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "ecoNET-300-Home-Assistant-Integration" -version = "v1.0.2-beta" +version = "v1.0.3-beta" description = "ecoNET300 Home Assistant integration" authors = ["Jon "] readme = "README.md"