From f98273a3eba18404e6480ac493ca0183d28f4d1a Mon Sep 17 00:00:00 2001 From: Stefan Allius <122395479+s-allius@users.noreply.github.com> Date: Tue, 15 Apr 2025 17:54:45 +0200 Subject: [PATCH] S allius/issue362 (#379) * allow serial number starting with `Y00` * rollback to python version 3.13.2 --- .python-version | 2 +- CHANGELOG.md | 2 ++ ha_addons/ha_addon/translations/de.yaml | 4 ++-- ha_addons/ha_addon/translations/en.yaml | 2 +- ha_addons/templates/config.jinja | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.python-version b/.python-version index 2c20ac9..3e388a4 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.13.3 +3.13.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f194c0..64a7c8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +- allow `Y00` serial numbers for GEN3PLUS devices + ## [0.13.0] - 2025-04-13 - update dependency python to 3.13 diff --git a/ha_addons/ha_addon/translations/de.yaml b/ha_addons/ha_addon/translations/de.yaml index 0455987..b4c4938 100755 --- a/ha_addons/ha_addon/translations/de.yaml +++ b/ha_addons/ha_addon/translations/de.yaml @@ -10,8 +10,8 @@ configuration: Weitere wechselrichterspezifische Parameter (z.B. Polling Mode) können im Konfigurationsblock gesetzt werden. - Die Seriennummer der GEN3 Wechselrichter beginnen mit `R17` oder `R47` und die der GEN3PLUS - Wechselrichter mit `Y17`oder `Y47`! + Die Seriennummer der GEN3 Wechselrichter beginnen mit 'R17' oder 'R47' und die der GEN3PLUS + Wechselrichter mit 'Y00', 'Y17' oder 'Y47'! Siehe Beispielkonfiguration im Dokumentations-Tab batteries: diff --git a/ha_addons/ha_addon/translations/en.yaml b/ha_addons/ha_addon/translations/en.yaml index 82a25aa..2187347 100755 --- a/ha_addons/ha_addon/translations/en.yaml +++ b/ha_addons/ha_addon/translations/en.yaml @@ -10,7 +10,7 @@ configuration: in the configuration block. The serial numbers of all GEN3 inverters start with `R17` or `R47` and that of the GEN3PLUS - inverters with ‘Y17’ or ‘Y47’! + inverters with 'Y00', ‘Y17’ or ‘Y47’! For reference see example configuration in Documentation Tab diff --git a/ha_addons/templates/config.jinja b/ha_addons/templates/config.jinja index 796d0c2..8488f79 100755 --- a/ha_addons/templates/config.jinja +++ b/ha_addons/templates/config.jinja @@ -32,7 +32,7 @@ watchdog: "http://[HOST]:[PORT:8127]/-/healthy" schema: inverters: - - serial: match(^(R17|R47|Y17|Y47).{13}$) + - serial: match(^(R17|R47|Y00|Y17|Y47).{13}$) monitor_sn: int? node_id: str suggested_area: str