From f1c4954519400ce4c24e2955577cdee0abf7d212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Karri=C3=A9?= Date: Sun, 26 Feb 2023 22:35:07 +0100 Subject: [PATCH] added sk{}.L_spu to TEMP_SENSORS_BY_DOMAIN and sk{}.L_pump to PUMP_PERCENTAGE_SENSORS_BY_DOMAIN (#9) --- custom_components/ha_oekofen/const.py | 10 +++++++--- custom_components/ha_oekofen/manifest.json | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/custom_components/ha_oekofen/const.py b/custom_components/ha_oekofen/const.py index ba85762..d0984ea 100644 --- a/custom_components/ha_oekofen/const.py +++ b/custom_components/ha_oekofen/const.py @@ -49,10 +49,13 @@ # 'pu', # is % not bool "ww": ["L_pump"], "circ": ["L_pummp"], - "sk": ["L_pump"], + # "sk": ["L_pump"], # seems to be percentage } -PUMP_PERCENTAGE_SENSORS_BY_DOMAIN = {"pu": ["L_pump"]} +PUMP_PERCENTAGE_SENSORS_BY_DOMAIN = { + "pu": ["L_pump"], + "sk": ["L_pump"], +} TEMP_SENSORS_BY_DOMAIN = { "system": ["L_ambient"], @@ -70,7 +73,8 @@ "L_frt_temp_end", "L_uw_release", ], - "sk": ["L_koll_temp", "spu_max"], + "sk": ["L_koll_temp", "spu_max", "L_spu"], + } STATE_SENSORS_BY_DOMAIN = { diff --git a/custom_components/ha_oekofen/manifest.json b/custom_components/ha_oekofen/manifest.json index 418cf3d..1cbc21f 100644 --- a/custom_components/ha_oekofen/manifest.json +++ b/custom_components/ha_oekofen/manifest.json @@ -6,5 +6,5 @@ "iot_class": "local_polling", "codeowners": [], "requirements": ["oekofen-api==0.0.22"], - "version": "0.0.20" + "version": "0.0.21" }