Skip to content

Names and device #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kifort opened this issue Apr 24, 2022 · 66 comments
Closed

Names and device #28

kifort opened this issue Apr 24, 2022 · 66 comments
Labels
enhancement New feature or request

Comments

@kifort
Copy link

kifort commented Apr 24, 2022

First of all: thanks for your great project.
In "both" mode, I see 78 wemportal entities and I am bit lost between them. Some of them are in german, some in english due to issue #22. Some of them have a prefix of "heat_pump", "heating_circuits" or "wez", others have none of these.
Could you maybe add a "Heat Pump" device? That would allow to add all entities to an area in one step. Also all sensors or all controls could be added to a dashboard in one step.
Otherwise, I suggest to add some common entity prefixes that can be used in entity filtering of the lovelace cards. Something like:

  • wem_
  • wem_web
  • wem_api
@dm82m
Copy link
Contributor

dm82m commented Apr 24, 2022

We are using the default names we get from wemportal api or Web. If you want you can just go ahead and rename your entities however you prefer.

@erikkastelec
Copy link
Owner

Fixing naming is quite hard in this case. By dynamically combining data from API and website there are a lot of naming conflicts, which can't be resolved with simple logic. To get everything fixed I would probably need to hard code a lot of things. There is also the problem with different devices having different entities and settings, which complicates this further. For now, I will focus on improving the functionality and leave the naming when everything else works sufficiently well.

Some of them have a prefix of "heat_pump", "heating_circuits" or "wez", others have none of these.

Prefixes are used for entities that are scraped from the WEM portal website. Prefixes are the categories that can be seen on the website and are there to help you narrow down what the entity name actually means.

Could you maybe add a "Heat Pump" device?

This sounds like a good idea. Will add this, but can't provide an accurate time frame.

Otherwise, I suggest to add some common entity prefixes that can be used in entity filtering of the lovelace cards. Something like:

I think that Home Assistant developers discourage this. Grouping the entities into a device should solve this anyway.

@erikkastelec erikkastelec added the enhancement New feature or request label Apr 24, 2022
@kifort
Copy link
Author

kifort commented Apr 25, 2022

Thank you both for the quick answer. I fully agree, that device is the right thing. Once it comes naming won't be a big issue anymore.

"Could you maybe add a "Heat Pump" device?
This sounds like a good idea. Will add this, but can't provide an accurate time frame."

Should I leave this ticket open for "Heat Pump" device, or close it and create a new one?

@erikkastelec
Copy link
Owner

You can leave it open

@erikkastelec
Copy link
Owner

Device support is finally here and should be released soon after I test it out.

If anyone is interested in testing:

  • Put all the files from /custom_conponents/wemportal/ that are in dev branch into homeassistat_config/custom_components/wemportal folder on your server.
  • Add new integration inside Home Assistant frontend (yaml support is deprecated)

@dm82m
Copy link
Contributor

dm82m commented Mar 7, 2023

Is there anything we need to know if we Test it. Any migration steps needed? Or just straight forward?

@erikkastelec
Copy link
Owner

It will probably brake names of entities ( append 2 at the end because entity with that name already exists). Other than that everything should work fine.

@dm82m
Copy link
Contributor

dm82m commented Mar 7, 2023

And will brake history aswell, right? Maybe we should think about an entity migration so that people are not losing their history!?

@dm82m
Copy link
Contributor

dm82m commented Mar 7, 2023

Maybe something like we did here: dm82m/hass-Deltasol-KM2@9a500f3

@erikkastelec
Copy link
Owner

Looks good, will add this.

@dm82m
Copy link
Contributor

dm82m commented Mar 9, 2023

migration seems not to work, I tried the dev branch on a clean install. started with current released version and then migrated to dev branch. old sensors will get state "restored" and new sensors are created. maybe this has something to do with changing from yaml config to config flow? not sure tbh.

I also get no info logs about entity migration, I guess something is not good there.

@erikkastelec
Copy link
Owner

Interesting, I did the same and it worked. Will spin up a new instance, see if I can reproduce this and keep you posted.

@erikkastelec
Copy link
Owner

It should work now.
After adding the integration, be sure to configure any additional settings in the GUI, as the settings in the configuration file no longer have any effect.

Thank you for taking the time to test this.

@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

2023-03-10 10:46:05.712 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated async_get_registry to access entity registry, use async_get instead. Please report issue to the custom integration author for wemportal using this method at custom_components/wemportal/__init__.py, line 46: er = await entity_registry.async_get_registry(hass)

@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

2023-03-10 10:45:19.629 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration wemportal which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-10 10:45:47.479 INFO (MainThread) [homeassistant.setup] Setting up wemportal
2023-03-10 10:45:47.479 INFO (MainThread) [homeassistant.setup] Setup of domain wemportal took 0.0 seconds
2023-03-10 10:45:47.612 DEBUG (SyncWorker_2) [custom_components.wemportal] Fetching api device data
2023-03-10 10:45:47.761 DEBUG (SyncWorker_2) [custom_components.wemportal] Fetching api parameters data
2023-03-10 10:45:52.012 DEBUG (SyncWorker_2) [custom_components.wemportal] Fetching fresh api data
2023-03-10 10:46:05.707 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 18.227 seconds (success: True)
2023-03-10 10:46:05.707 INFO (MainThread) [custom_components.wemportal] Migrating entity names for wemportal
2023-03-10 10:46:05.712 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated `async_get_registry` to access entity registry, use async_get instead. Please report issue to the custom integration author for wemportal using this method at custom_components/wemportal/__init__.py, line 46: er = await entity_registry.async_get_registry(hass)
2023-03-10 10:46:05.715 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk1_u_raumsoll). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-U_Raumsoll).
2023-03-10 10:46:05.715 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.hzk1_komfort). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-Komfort).
2023-03-10 10:46:05.716 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.hzk1_normal). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-Normal).
2023-03-10 10:46:05.716 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.hzk1_absenk). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-Absenk).
2023-03-10 10:46:05.717 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk1_u_funktion). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-U_Funktion).
2023-03-10 10:46:05.717 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk1_pp_funktion). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-PP_Funktion).
2023-03-10 10:46:05.718 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk1_pp_raumsoll). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-PP_Raumsoll).
2023-03-10 10:46:05.718 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk1_betriebsart). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK1-Betriebsart).
2023-03-10 10:46:05.719 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk0_betriebsart). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-Betriebsart).
2023-03-10 10:46:05.719 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk0_pp_funktion). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-PP_Funktion).
2023-03-10 10:46:05.719 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.hzk0_normal). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-Normal).
2023-03-10 10:46:05.725 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.hzk0_absenk). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-Absenk).
2023-03-10 10:46:05.726 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk0_u_funktion). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-U_Funktion).
2023-03-10 10:46:05.726 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk0_u_raumsoll). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-U_Raumsoll).
2023-03-10 10:46:05.726 INFO (MainThread) [custom_components.wemportal] Found entity with old id (select.hzk0_pp_raumsoll). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-PP_Raumsoll).
2023-03-10 10:46:05.726 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.hzk0_komfort). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:HZK0-Komfort).
2023-03-10 10:46:05.727 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.ww0_normalww). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:WW0-NormalWW).
2023-03-10 10:46:05.727 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.ww0_absenkww). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:WW0-AbsenkWW).
2023-03-10 10:46:05.727 INFO (MainThread) [custom_components.wemportal] Found entity with old id (switch.ww0_ww_push). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:WW0-WW-Push).
2023-03-10 10:46:05.728 INFO (MainThread) [custom_components.wemportal] Found entity with old id (number.we0_ww_solltemp). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:WE0-WW-Solltemp).
2023-03-10 10:46:05.730 DEBUG (SyncWorker_1) [custom_components.wemportal] Fetching fresh api data
2023-03-10 10:46:17.169 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 11.441 seconds (success: True)
2023-03-10 10:46:17.176 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.wemportal
2023-03-10 10:46:17.178 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.hzk1_aktraumsoll
2023-03-10 10:46:17.179 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.hzk1_raumtemperatur
2023-03-10 10:46:17.179 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.hzk0_raumtemperatur
2023-03-10 10:46:17.180 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.hzk0_aktraumsoll
2023-03-10 10:46:17.181 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.system0_aussentemperatur
2023-03-10 10:46:17.181 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.ww0_warmwassertemperatur
2023-03-10 10:46:17.188 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.we0_leistung
2023-03-10 10:46:17.189 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.we0_vorlauftemperatur
2023-03-10 10:46:17.189 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.wemportal entity: sensor.we0_anlagendruck
2023-03-10 10:46:17.226 INFO (MainThread) [homeassistant.components.select] Setting up select.wemportal
2023-03-10 10:46:17.231 INFO (MainThread) [homeassistant.components.number] Setting up number.wemportal
2023-03-10 10:46:17.288 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wemportal

@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

some of the entities are migrated but a lot of the old sensors will become restored:

image

@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

and with release version I get >80 sensors and with dev version there are only 29 sensors...

@erikkastelec
Copy link
Owner

Did you change mode to both inside Home Assistant configurations?

@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

no I did not ... sorry for that!

tested it now and only a few sensors restored:

image

Home Assistant Core
2023-03-10 11:00:25.944 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration wemportal which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-10 11:00:29.154 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'image_upload', 'hardware', 'automation', 'input_boolean', 'lovelace', 'zone', 'sun', 'diagnostics', 'hacs', 'counter', 'device_automation', 'history', 'media_source', 'map', 'conversation', 'person', 'persistent_notification', 'default_config', 'my', 'file_upload', 'scene', 'config', 'system_health', 'search', 'energy', 'wemportal', 'timer', 'logbook', 'input_datetime', 'application_credentials', 'blueprint', 'input_text', 'tts', 'repairs', 'mobile_app', 'tag', 'auth', 'onboarding', 'trace', 'script', 'input_button', 'schedule', 'input_select', 'homeassistant_alerts', 'analytics', 'input_number'}
2023-03-10 11:00:30.821 INFO (MainThread) [homeassistant.setup] Setting up wemportal
2023-03-10 11:00:30.823 INFO (MainThread) [homeassistant.setup] Setup of domain wemportal took 0.0 seconds
2023-03-10 11:00:31.306 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching api device data
2023-03-10 11:00:31.559 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching api parameters data
2023-03-10 11:00:35.761 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching fresh api data
2023-03-10 11:00:47.820 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 16.986 seconds (success: True)
2023-03-10 11:00:47.820 INFO (MainThread) [custom_components.wemportal] Migrating entity names for wemportal
2023-03-10 11:00:47.825 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated `async_get_registry` to access entity registry, use async_get instead. Please report issue to the custom integration author for wemportal using this method at custom_components/wemportal/__init__.py, line 46: er = await entity_registry.async_get_registry(hass)
2023-03-10 11:00:47.829 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.wemportal
2023-03-10 11:00:47.847 INFO (MainThread) [homeassistant.components.select] Setting up select.wemportal
2023-03-10 11:00:47.849 INFO (MainThread) [homeassistant.components.number] Setting up number.wemportal
2023-03-10 11:00:47.862 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wemportal
2023-03-10 11:00:51.525 INFO (MainThread) [custom_components.wemportal] Migrating entity names for wemportal because of config entry update
2023-03-10 11:00:51.661 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching api device data
2023-03-10 11:00:51.832 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching api parameters data
2023-03-10 11:01:17.929 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching fresh api data
2023-03-10 11:01:29.112 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 37.579 seconds (success: True)
2023-03-10 11:01:29.113 INFO (MainThread) [custom_components.wemportal] Migrating entity names for wemportal
2023-03-10 11:01:29.115 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_status). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-status).
2023-03-10 11:01:29.116 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_aussentemperatur_aktuell). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-aussentemperatur_aktuell).
2023-03-10 11:01:29.116 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_aussentemperatur_gedampft). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-aussentemperatur_gedämpft).
2023-03-10 11:01:29.116 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_aussentemperatur_gemischt). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-aussentemperatur_gemischt).
2023-03-10 11:01:29.116 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_aussentemperatur_rucksetzen). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-aussentemperatur_rücksetzen).
2023-03-10 11:01:29.117 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_warmeanforderung_heizung_aktuell). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-wärmeanforderung_heizung_aktuell).
2023-03-10 11:01:29.117 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_warmeanforderung_heizkreis_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-wärmeanforderung_heizkreis_aktuell_hzk1).
2023-03-10 11:01:29.117 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_warmeanforderung_warmwasser_aktuell). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system-wärmeanforderung_warmwasser_aktuell).
2023-03-10 11:01:29.118 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_betriebsphase_wtc_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-betriebsphase_wtc_we0).
2023-03-10 11:01:29.118 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_betriebsphase_brenner_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-betriebsphase_brenner_we0).
2023-03-10 11:01:29.118 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_sollleistung_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-sollleistung_aktuell_we0).
2023-03-10 11:01:29.119 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_istleistung_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-istleistung_aktuell_we0).
2023-03-10 11:01:29.119 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_vorlaufsolltemperatur_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-vorlaufsolltemperatur_aktuell_we0).
2023-03-10 11:01:29.119 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_vorlauftemperatur_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-vorlauftemperatur_aktuell_we0).
2023-03-10 11:01:29.119 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_vorlauftemperatur_vpt_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-vorlauftemperatur_vpt_aktuell_we0).
2023-03-10 11:01:29.120 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_rucklauftemperatur_vpt_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-rücklauftemperatur_vpt_aktuell_we0).
2023-03-10 11:01:29.125 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_abgastemperatur_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-abgastemperatur_aktuell_we0).
2023-03-10 11:01:29.126 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_tageswarmemenge_vortag_gesamt_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-tageswärmemenge_(vortag)_gesamt_we0).
2023-03-10 11:01:29.126 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_tageswarmemenge_vortag_heizbetrieb_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-tageswärmemenge_(vortag)_heizbetrieb_we0).
2023-03-10 11:01:29.126 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_tageswarmemenge_vortag_warmwasserbetrieb_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-tageswärmemenge_(vortag)_warmwasserbetrieb_we0).
2023-03-10 11:01:29.127 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_zahler_seit_rucksetzen_brennerstarts_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-zähler_seit_rücksetzen_brennerstarts_we0).
2023-03-10 11:01:29.127 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_zahler_seit_rucksetzen_betriebsstunden_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-zähler_seit_rücksetzen_betriebsstunden_we0).
2023-03-10 11:01:29.127 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_zahler_seit_rucksetzen_rucksetzen_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-zähler_seit_rücksetzen_rücksetzen_we0).
2023-03-10 11:01:29.127 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_gesamtzahler_brennerstarts_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gesamtzähler_brennerstarts_we0).
2023-03-10 11:01:29.128 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_gesamtzahler_betriebsstunden_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gesamtzähler_betriebsstunden_we0).
2023-03-10 11:01:29.128 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_pumpenleistung_pumpe_intern_sollleistung_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-pumpenleistung_pumpe_intern_sollleistung_we0).
2023-03-10 11:01:29.128 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_pumpenleistung_pumpe_intern_elektrische_leistung_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-pumpenleistung_pumpe_intern_elektrische_leistung_we0).
2023-03-10 11:01:29.129 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_pumpenleistung_pumpe_intern_betriebsart_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-pumpenleistung_pumpe_intern_betriebsart_we0).
2023-03-10 11:01:29.129 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_volumenstrom_vpt_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-volumenstrom_vpt_aktuell_we0).
2023-03-10 11:01:29.129 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_warmeleistung_vpt_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-wärmeleistung_vpt_aktuell_we0).
2023-03-10 11:01:29.129 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_anlagendruck_vpt_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-anlagendruck_vpt_aktuell_we0).
2023-03-10 11:01:29.130 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_ionisationssignal_scot_basiswert_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-ionisationssignal_scot-basiswert_aktuell_we0).
2023-03-10 11:01:29.130 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_ionisationssignal_sollwert_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-ionisationssignal_sollwert_aktuell_we0).
2023-03-10 11:01:29.141 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_ionisationssignal_scot_istwert_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-ionisationssignal_scot-istwert_aktuell_we0).
2023-03-10 11:01:29.141 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_ionisationssignal_start_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-ionisationssignal_start_aktuell_we0).
2023-03-10 11:01:29.141 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_gasventil_offset_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gasventil_offset_aktuell_we0).
2023-03-10 11:01:29.142 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_zeit_bis_flammenbildung_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-zeit_bis_flammenbildung_aktuell_we0).
2023-03-10 11:01:29.142 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_gasventil_ansteuersignal_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gasventil_ansteuersignal_aktuell_we0).
2023-03-10 11:01:29.143 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_gas_luft_verhaltnis_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gas-luft-verhältnis_aktuell_we0).
2023-03-10 11:01:29.143 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_geblasedrehzahl_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gebläsedrehzahl_aktuell_we0).
2023-03-10 11:01:29.143 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.wtc_g_geblase_ansteuersignal_aktuell_we0). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:wtc-g-gebläse-ansteuersignal_aktuell_we0).
2023-03-10 11:01:29.143 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_betriebsart_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-betriebsart_hzk1).
2023-03-10 11:01:29.144 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_status_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-status_hzk1).
2023-03-10 11:01:29.144 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_aussentemperatur_lokal_gemittelt_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemittelt_hzk1).
2023-03-10 11:01:29.144 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_aussentemperatur_lokal_gemischt_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemischt_hzk1).
2023-03-10 11:01:29.144 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_aussentemperatur_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-aussentemperatur_aktuell_hzk1).
2023-03-10 11:01:29.145 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_raumsolltemperatur_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-raumsolltemperatur_aktuell_hzk1).
2023-03-10 11:01:29.145 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_vorlaufsolltemperatur_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-vorlaufsolltemperatur_aktuell_hzk1).
2023-03-10 11:01:29.148 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_vorlauftemperatur_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-vorlauftemperatur_aktuell_hzk1).
2023-03-10 11:01:29.148 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_mischerstellung_soll_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-mischerstellung_soll_aktuell_hzk1).
2023-03-10 11:01:29.148 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_mischerstellung_ist_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-mischerstellung_ist_aktuell_hzk1).
2023-03-10 11:01:29.149 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_pumpe_heizkreis_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-pumpe_heizkreis_hzk1).
2023-03-10 11:01:29.149 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_korrektur_aufheizoptimierung_letzte_optimierung_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_letzte_optimierung_hzk1).
2023-03-10 11:01:29.149 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_korrektur_aufheizoptimierung_korrektur_aktuell_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_korrektur_aktuell_hzk1).
2023-03-10 11:01:29.149 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_1_korrektur_aufheizoptimierung_rucksetzen_hzk1). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_rücksetzen_hzk1).
2023-03-10 11:01:29.150 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_2_status). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_2-status).
2023-03-10 11:01:29.150 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_2_warmwassersolltemperatur_aktuell). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_2-warmwassersolltemperatur_aktuell).
2023-03-10 11:01:29.150 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_2_warmwassertemperatur_aktuell). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_2-warmwassertemperatur_aktuell).
2023-03-10 11:01:29.151 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heizkreis_heizkreise_heizkreis_2_pumpe_warmwasser). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heizkreis_heizkreise_heizkreis_2-pumpe_warmwasser).
2023-03-10 11:01:29.151 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.room_setpoint_temperature). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:room_setpoint_temperature).
2023-03-10 11:01:29.151 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.room_temperature). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:room_temperature).
2023-03-10 11:01:29.151 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.outside_temperature). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:outside_temperature).
2023-03-10 11:01:29.152 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.hot_water_temperature). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:hot_water_temperature).
2023-03-10 11:01:29.152 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.heat_output). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:heat_output).
2023-03-10 11:01:29.152 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.flow_temperature). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:flow_temperature).
2023-03-10 11:01:29.152 INFO (MainThread) [custom_components.wemportal] Found entity with old id (sensor.system_pressure). Updating to new unique_id (7f566e1ac6a0f60ef755b2b9cb85a830:4813:system_pressure).
2023-03-10 11:01:29.154 DEBUG (SyncWorker_0) [custom_components.wemportal] Fetching fresh api data
2023-03-10 11:01:40.237 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 11.084 seconds (success: True)
2023-03-10 11:01:40.238 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.wemportal
2023-03-10 11:01:40.238 INFO (MainThread) [homeassistant.components.number] Setting up number.wemportal
2023-03-10 11:01:40.238 INFO (MainThread) [homeassistant.components.select] Setting up select.wemportal
2023-03-10 11:01:40.239 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wemportal

@erikkastelec
Copy link
Owner

I believe these sensors were created when the new integration was first set up with mode=api. When the mode changes, the names of some entities may also change. For now, I will leave them as is for now.

Since these are newly created sensors, we won't lose any old historical data. It's just a little inconvenient to delete them.

@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

okay, moved my production instance to dev branch.

it would be great if the options would be directly changeable on initial setup. currently I manually need to change them later on. and there is a typo:
image

@erikkastelec
Copy link
Owner

I would prefer if people read the documentation. If we put this information in the initial setup, many people may choose scan intervals that are too small and then wonder why the integration stops working after only a few hours. However, since this is a one-time setup, I don't think it should bother anyone too much.

erikkastelec added a commit that referenced this issue Mar 10, 2023
@dm82m
Copy link
Contributor

dm82m commented Mar 10, 2023

you should also switch the async_get to remove the deprecation warning: dm82m/hass-Deltasol-KM2@480fdf3

so far again thank you for all the work! :)

@erikkastelec
Copy link
Owner

Done, thanks for the reminder.

erikkastelec added a commit that referenced this issue Mar 15, 2023
@erikkastelec
Copy link
Owner

This update should fix the api not being replaced with a new instance on failure

@dm82m
Copy link
Contributor

dm82m commented Mar 21, 2023

Looks good so far. The only thing I got was this:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.wemportal
Source: custom_components/wemportal/sensor.py:138 
Integration: Weishaupt WEM Portal (documentation, issues) 
First occurred: 19. März 2023 um 13:12:23 (13 occurrences) 
Last logged: 20. März 2023 um 21:21:31

Can't find f7ad0827d125d6220474a66849c330ae:4813:system_pressure
Can't find f7ad0827d125d6220474a66849c330ae:4813:heizkreis_heizkreise_heizkreis_2-status
Can't find f7ad0827d125d6220474a66849c330ae:4813:heizkreis_heizkreise_heizkreis_2-warmwassertemperatur_aktuell

@dm82m
Copy link
Contributor

dm82m commented Mar 23, 2023

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.wemportal
Source: custom_components/wemportal/wemportalapi.py:136
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 18:12:33 (29 occurrences)
Last logged: 20:39:44

'NoneType' object has no attribute 'status_code'

@dm82m
Copy link
Contributor

dm82m commented Mar 23, 2023

Also a Integration restart is not helping:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant.config_entries
Source: custom_components/wemportal/coordinator.py:42
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 20:43:20 (1 occurrences)
Last logged: 20:43:20

Error setting up entry [email protected] for wemportal
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/wemportal/init.py", line 104, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in async_config_entry_first_refresh
await self._async_refresh(
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/wemportal/coordinator.py", line 42, in _async_update_data
return await self.hass.async_add_executor_job(self.api.fetch_data)
asyncio.exceptions.CancelledError

erikkastelec added a commit that referenced this issue Mar 23, 2023
@erikkastelec
Copy link
Owner

This should fix the issue. I think that this was also the reason behind "Can't find ..." errors you reported previously.

@dm82m
Copy link
Contributor

dm82m commented Mar 25, 2023

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant
Source: custom_components/wemportal/select.py:121
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 02:54:25 (57 occurrences)
Last logged: 07:36:26

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 600, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 565, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 147, in state
if self.current_option is None or self.current_option not in self.options:
File "/config/custom_components/wemportal/select.py", line 121, in current_option
self.coordinator.data[self._device_id][self._name]["value"]
KeyError: 'HZK1-U_Raumsoll'

erikkastelec added a commit that referenced this issue Mar 25, 2023
@erikkastelec
Copy link
Owner

The last bug should be fixed. Thanks again for your feedback.

@dm82m
Copy link
Contributor

dm82m commented Mar 26, 2023

after this happens, it stays broke and will not get restored.

2023-03-26 08:36:58.404 DEBUG (SyncWorker_11) [custom_components.wemportal] Fetching fresh api data
2023-03-26 08:37:09.284 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 10.880 seconds (success: True)
2023-03-26 08:42:09.404 DEBUG (SyncWorker_2) [custom_components.wemportal] Fetching fresh api data
2023-03-26 08:42:09.523 ERROR (SyncWorker_2) [custom_components.wemportal] An error occurred while gathering data.This issue should resolve by itself. If this problem persists,open an issue at https://github.com/erikkastelec/hass-WEM-Portal/issues Server returned status code: and message:
2023-03-26 08:42:09.527 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 0.124 seconds (success: True)
2023-03-26 08:47:09.405 DEBUG (SyncWorker_3) [custom_components.wemportal] Fetching fresh api data
2023-03-26 08:47:09.536 ERROR (SyncWorker_3) [custom_components.wemportal] An error occurred while gathering data.This issue should resolve by itself. If this problem persists,open an issue at https://github.com/erikkastelec/hass-WEM-Portal/issues Server returned status code: and message:
2023-03-26 08:47:09.540 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 0.136 seconds (success: True)
2023-03-26 08:52:24.161 DEBUG (SyncWorker_10) [custom_components.wemportal] Fetching fresh api data
2023-03-26 08:52:24.282 ERROR (SyncWorker_10) [custom_components.wemportal] An error occurred while gathering data.This issue should resolve by itself. If this problem persists,open an issue at https://github.com/erikkastelec/hass-WEM-Portal/issues Server returned status code: and message:
2023-03-26 08:52:24.285 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 14.882 seconds (success: True)
2023-03-26 08:52:24.297 WARNING (MainThread) [custom_components.wemportal] Can't find f7ad0827d125d6220474a66849c330ae:4813:room_setpoint_temperature
2023-03-26 08:52:24.301 DEBUG (MainThread) [custom_components.wemportal] Sensor data {4813: {'system-status': {'value': 'Automatik', 'name': 'system-status', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'system-status', 'ParameterID': 'system-status'}, 'system-aussentemperatur_aktuell': {'value': 6.4, 'name': 'system-aussentemperatur_aktuell', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'system-aussentemperatur_aktuell', 'ParameterID': 'system-aussentemperatur_aktuell'}, 'system-aussentemperatur_gedämpft': {'value': 7.4, 'name': 'system-aussentemperatur_gedämpft', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'system-aussentemperatur_gedämpft', 'ParameterID': 'system-aussentemperatur_gedämpft'}, 'system-aussentemperatur_gemischt': {'value': 6.7, 'name': 'system-aussentemperatur_gemischt', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'system-aussentemperatur_gemischt', 'ParameterID': 'system-aussentemperatur_gemischt'}, 'system-aussentemperatur_rücksetzen': {'value': 'Nein', 'name': 'system-aussentemperatur_rücksetzen', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'system-aussentemperatur_rücksetzen', 'ParameterID': 'system-aussentemperatur_rücksetzen'}, 'system-wärmeanforderung_heizung_aktuell': {'value': 27.0, 'name': 'system-wärmeanforderung_heizung_aktuell', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'system-wärmeanforderung_heizung_aktuell', 'ParameterID': 'system-wärmeanforderung_heizung_aktuell'}, 'system-wärmeanforderung_heizkreis_aktuell_hzk1': {'value': 27.0, 'name': 'system-wärmeanforderung_heizkreis_aktuell_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'system-wärmeanforderung_heizkreis_aktuell_hzk1', 'ParameterID': 'system-wärmeanforderung_heizkreis_aktuell_hzk1'}, 'system-wärmeanforderung_warmwasser_aktuell': {'value': 0.0, 'name': 'system-wärmeanforderung_warmwasser_aktuell', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'system-wärmeanforderung_warmwasser_aktuell', 'ParameterID': 'system-wärmeanforderung_warmwasser_aktuell'}, 'wtc-g-betriebsphase_wtc_we0': {'value': 'Normalbetrieb', 'name': 'wtc-g-betriebsphase_wtc_we0', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'wtc-g-betriebsphase_wtc_we0', 'ParameterID': 'wtc-g-betriebsphase_wtc_we0'}, 'wtc-g-betriebsphase_brenner_we0': {'value': 'Brenner', 'name': 'wtc-g-betriebsphase_brenner_we0', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'wtc-g-betriebsphase_brenner_we0', 'ParameterID': 'wtc-g-betriebsphase_brenner_we0'}, 'wtc-g-sollleistung_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-sollleistung_aktuell_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-sollleistung_aktuell_we0', 'ParameterID': 'wtc-g-sollleistung_aktuell_we0'}, 'wtc-g-istleistung_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-istleistung_aktuell_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-istleistung_aktuell_we0', 'ParameterID': 'wtc-g-istleistung_aktuell_we0'}, 'wtc-g-vorlaufsolltemperatur_aktuell_we0': {'value': 27.0, 'name': 'wtc-g-vorlaufsolltemperatur_aktuell_we0', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'wtc-g-vorlaufsolltemperatur_aktuell_we0', 'ParameterID': 'wtc-g-vorlaufsolltemperatur_aktuell_we0'}, 'wtc-g-vorlauftemperatur_aktuell_we0': {'value': 43.0, 'name': 'wtc-g-vorlauftemperatur_aktuell_we0', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'wtc-g-vorlauftemperatur_aktuell_we0', 'ParameterID': 'wtc-g-vorlauftemperatur_aktuell_we0'}, 'wtc-g-vorlauftemperatur_vpt_aktuell_we0': {'value': 44.7, 'name': 'wtc-g-vorlauftemperatur_vpt_aktuell_we0', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'wtc-g-vorlauftemperatur_vpt_aktuell_we0', 'ParameterID': 'wtc-g-vorlauftemperatur_vpt_aktuell_we0'}, 'wtc-g-rücklauftemperatur_vpt_aktuell_we0': {'value': 45.7, 'name': 'wtc-g-rücklauftemperatur_vpt_aktuell_we0', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'wtc-g-rücklauftemperatur_vpt_aktuell_we0', 'ParameterID': 'wtc-g-rücklauftemperatur_vpt_aktuell_we0'}, 'wtc-g-abgastemperatur_aktuell_we0': {'value': 42.5, 'name': 'wtc-g-abgastemperatur_aktuell_we0', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'wtc-g-abgastemperatur_aktuell_we0', 'ParameterID': 'wtc-g-abgastemperatur_aktuell_we0'}, 'wtc-g-tageswärmemenge_(vortag)_gesamt_we0': {'value': 12.85, 'name': 'wtc-g-tageswärmemenge_(vortag)_gesamt_we0', 'icon': 'mdi:flash', 'unit': 'kWh', 'platform': 'sensor', 'friendlyName': 'wtc-g-tageswärmemenge_(vortag)_gesamt_we0', 'ParameterID': 'wtc-g-tageswärmemenge_(vortag)_gesamt_we0'}, 'wtc-g-tageswärmemenge_(vortag)_heizbetrieb_we0': {'value': 0.28, 'name': 'wtc-g-tageswärmemenge_(vortag)_heizbetrieb_we0', 'icon': 'mdi:flash', 'unit': 'kWh', 'platform': 'sensor', 'friendlyName': 'wtc-g-tageswärmemenge_(vortag)_heizbetrieb_we0', 'ParameterID': 'wtc-g-tageswärmemenge_(vortag)_heizbetrieb_we0'}, 'wtc-g-tageswärmemenge_(vortag)_warmwasserbetrieb_we0': {'value': 12.57, 'name': 'wtc-g-tageswärmemenge_(vortag)_warmwasserbetrieb_we0', 'icon': 'mdi:flash', 'unit': 'kWh', 'platform': 'sensor', 'friendlyName': 'wtc-g-tageswärmemenge_(vortag)_warmwasserbetrieb_we0', 'ParameterID': 'wtc-g-tageswärmemenge_(vortag)_warmwasserbetrieb_we0'}, 'wtc-g-zähler_seit_rücksetzen_brennerstarts_we0': {'value': 7401.0, 'name': 'wtc-g-zähler_seit_rücksetzen_brennerstarts_we0', 'icon': 'mdi:flash', 'unit': '', 'platform': 'sensor', 'friendlyName': 'wtc-g-zähler_seit_rücksetzen_brennerstarts_we0', 'ParameterID': 'wtc-g-zähler_seit_rücksetzen_brennerstarts_we0'}, 'wtc-g-zähler_seit_rücksetzen_betriebsstunden_we0': {'value': 3112.0, 'name': 'wtc-g-zähler_seit_rücksetzen_betriebsstunden_we0', 'icon': 'mdi:flash', 'unit': 'h', 'platform': 'sensor', 'friendlyName': 'wtc-g-zähler_seit_rücksetzen_betriebsstunden_we0', 'ParameterID': 'wtc-g-zähler_seit_rücksetzen_betriebsstunden_we0'}, 'wtc-g-zähler_seit_rücksetzen_rücksetzen_we0': {'value': 'Nein', 'name': 'wtc-g-zähler_seit_rücksetzen_rücksetzen_we0', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'wtc-g-zähler_seit_rücksetzen_rücksetzen_we0', 'ParameterID': 'wtc-g-zähler_seit_rücksetzen_rücksetzen_we0'}, 'wtc-g-gesamtzähler_brennerstarts_we0': {'value': 7401.0, 'name': 'wtc-g-gesamtzähler_brennerstarts_we0', 'icon': 'mdi:flash', 'unit': '', 'platform': 'sensor', 'friendlyName': 'wtc-g-gesamtzähler_brennerstarts_we0', 'ParameterID': 'wtc-g-gesamtzähler_brennerstarts_we0'}, 'wtc-g-gesamtzähler_betriebsstunden_we0': {'value': 3112.0, 'name': 'wtc-g-gesamtzähler_betriebsstunden_we0', 'icon': 'mdi:flash', 'unit': '', 'platform': 'sensor', 'friendlyName': 'wtc-g-gesamtzähler_betriebsstunden_we0', 'ParameterID': 'wtc-g-gesamtzähler_betriebsstunden_we0'}, 'wtc-g-pumpenleistung_pumpe_intern_sollleistung_we0': {'value': 16.0, 'name': 'wtc-g-pumpenleistung_pumpe_intern_sollleistung_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-pumpenleistung_pumpe_intern_sollleistung_we0', 'ParameterID': 'wtc-g-pumpenleistung_pumpe_intern_sollleistung_we0'}, 'wtc-g-pumpenleistung_pumpe_intern_elektrische_leistung_we0': {'value': 2.0, 'name': 'wtc-g-pumpenleistung_pumpe_intern_elektrische_leistung_we0', 'icon': 'mdi:flash', 'unit': 'W', 'platform': 'sensor', 'friendlyName': 'wtc-g-pumpenleistung_pumpe_intern_elektrische_leistung_we0', 'ParameterID': 'wtc-g-pumpenleistung_pumpe_intern_elektrische_leistung_we0'}, 'wtc-g-pumpenleistung_pumpe_intern_betriebsart_we0': {'value': 'Konstantdruck', 'name': 'wtc-g-pumpenleistung_pumpe_intern_betriebsart_we0', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'wtc-g-pumpenleistung_pumpe_intern_betriebsart_we0', 'ParameterID': 'wtc-g-pumpenleistung_pumpe_intern_betriebsart_we0'}, 'wtc-g-volumenstrom_vpt_aktuell_we0': {'value': 147.0, 'name': 'wtc-g-volumenstrom_vpt_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'l', 'platform': 'sensor', 'friendlyName': 'wtc-g-volumenstrom_vpt_aktuell_we0', 'ParameterID': 'wtc-g-volumenstrom_vpt_aktuell_we0'}, 'wtc-g-wärmeleistung_vpt_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-wärmeleistung_vpt_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'kW', 'platform': 'sensor', 'friendlyName': 'wtc-g-wärmeleistung_vpt_aktuell_we0', 'ParameterID': 'wtc-g-wärmeleistung_vpt_aktuell_we0'}, 'wtc-g-anlagendruck_vpt_aktuell_we0': {'value': 1.55, 'name': 'wtc-g-anlagendruck_vpt_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'bar', 'platform': 'sensor', 'friendlyName': 'wtc-g-anlagendruck_vpt_aktuell_we0', 'ParameterID': 'wtc-g-anlagendruck_vpt_aktuell_we0'}, 'wtc-g-ionisationssignal_scot-basiswert_aktuell_we0': {'value': 84.0, 'name': 'wtc-g-ionisationssignal_scot-basiswert_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'Pts', 'platform': 'sensor', 'friendlyName': 'wtc-g-ionisationssignal_scot-basiswert_aktuell_we0', 'ParameterID': 'wtc-g-ionisationssignal_scot-basiswert_aktuell_we0'}, 'wtc-g-ionisationssignal_sollwert_aktuell_we0': {'value': 3.0, 'name': 'wtc-g-ionisationssignal_sollwert_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'Pts', 'platform': 'sensor', 'friendlyName': 'wtc-g-ionisationssignal_sollwert_aktuell_we0', 'ParameterID': 'wtc-g-ionisationssignal_sollwert_aktuell_we0'}, 'wtc-g-ionisationssignal_scot-istwert_aktuell_we0': {'value': 3.0, 'name': 'wtc-g-ionisationssignal_scot-istwert_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'Pts', 'platform': 'sensor', 'friendlyName': 'wtc-g-ionisationssignal_scot-istwert_aktuell_we0', 'ParameterID': 'wtc-g-ionisationssignal_scot-istwert_aktuell_we0'}, 'wtc-g-ionisationssignal_start_aktuell_we0': {'value': 13.0, 'name': 'wtc-g-ionisationssignal_start_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'Pts', 'platform': 'sensor', 'friendlyName': 'wtc-g-ionisationssignal_start_aktuell_we0', 'ParameterID': 'wtc-g-ionisationssignal_start_aktuell_we0'}, 'wtc-g-gasventil_offset_aktuell_we0': {'value': 29.76, 'name': 'wtc-g-gasventil_offset_aktuell_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-gasventil_offset_aktuell_we0', 'ParameterID': 'wtc-g-gasventil_offset_aktuell_we0'}, 'wtc-g-zeit_bis_flammenbildung_aktuell_we0': {'value': 1.5, 'name': 'wtc-g-zeit_bis_flammenbildung_aktuell_we0', 'icon': 'mdi:flash', 'unit': 's', 'platform': 'sensor', 'friendlyName': 'wtc-g-zeit_bis_flammenbildung_aktuell_we0', 'ParameterID': 'wtc-g-zeit_bis_flammenbildung_aktuell_we0'}, 'wtc-g-gasventil_ansteuersignal_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-gasventil_ansteuersignal_aktuell_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-gasventil_ansteuersignal_aktuell_we0', 'ParameterID': 'wtc-g-gasventil_ansteuersignal_aktuell_we0'}, 'wtc-g-gas-luft-verhältnis_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-gas-luft-verhältnis_aktuell_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-gas-luft-verhältnis_aktuell_we0', 'ParameterID': 'wtc-g-gas-luft-verhältnis_aktuell_we0'}, 'wtc-g-gebläsedrehzahl_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-gebläsedrehzahl_aktuell_we0', 'icon': 'mdi:flash', 'unit': 'rpm', 'platform': 'sensor', 'friendlyName': 'wtc-g-gebläsedrehzahl_aktuell_we0', 'ParameterID': 'wtc-g-gebläsedrehzahl_aktuell_we0'}, 'wtc-g-gebläse-ansteuersignal_aktuell_we0': {'value': 0.0, 'name': 'wtc-g-gebläse-ansteuersignal_aktuell_we0', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'wtc-g-gebläse-ansteuersignal_aktuell_we0', 'ParameterID': 'wtc-g-gebläse-ansteuersignal_aktuell_we0'}, 'heizkreis_heizkreise_heizkreis_1-betriebsart_hzk1': {'value': 'Zeitprogramm', 'name': 'heizkreis_heizkreise_heizkreis_1-betriebsart_hzk1', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-betriebsart_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-betriebsart_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-status_hzk1': {'value': 'Normal', 'name': 'heizkreis_heizkreise_heizkreis_1-status_hzk1', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-status_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-status_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemittelt_hzk1': {'value': 7.5, 'name': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemittelt_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemittelt_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemittelt_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemischt_hzk1': {'value': 6.6, 'name': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemischt_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemischt_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_lokal_gemischt_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_aktuell_hzk1': {'value': 5.8, 'name': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_aktuell_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-aussentemperatur_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-raumsolltemperatur_aktuell_hzk1': {'value': 20.0, 'name': 'heizkreis_heizkreise_heizkreis_1-raumsolltemperatur_aktuell_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-raumsolltemperatur_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-raumsolltemperatur_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-vorlaufsolltemperatur_aktuell_hzk1': {'value': 25.0, 'name': 'heizkreis_heizkreise_heizkreis_1-vorlaufsolltemperatur_aktuell_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-vorlaufsolltemperatur_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-vorlaufsolltemperatur_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-vorlauftemperatur_aktuell_hzk1': {'value': 25.1, 'name': 'heizkreis_heizkreise_heizkreis_1-vorlauftemperatur_aktuell_hzk1', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-vorlauftemperatur_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-vorlauftemperatur_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-mischerstellung_soll_aktuell_hzk1': {'value': 34.0, 'name': 'heizkreis_heizkreise_heizkreis_1-mischerstellung_soll_aktuell_hzk1', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-mischerstellung_soll_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-mischerstellung_soll_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-mischerstellung_ist_aktuell_hzk1': {'value': 33.0, 'name': 'heizkreis_heizkreise_heizkreis_1-mischerstellung_ist_aktuell_hzk1', 'icon': 'mdi:flash', 'unit': '%', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-mischerstellung_ist_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-mischerstellung_ist_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-pumpe_heizkreis_hzk1': {'value': 'Ein', 'name': 'heizkreis_heizkreise_heizkreis_1-pumpe_heizkreis_hzk1', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-pumpe_heizkreis_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-pumpe_heizkreis_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_letzte_optimierung_hzk1': {'value': 0.0, 'name': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_letzte_optimierung_hzk1', 'icon': 'mdi:flash', 'unit': 'min', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_letzte_optimierung_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_letzte_optimierung_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_korrektur_aktuell_hzk1': {'value': 20.0, 'name': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_korrektur_aktuell_hzk1', 'icon': 'mdi:flash', 'unit': 'min', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_korrektur_aktuell_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_korrektur_aktuell_hzk1'}, 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_rücksetzen_hzk1': {'value': 'Nein', 'name': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_rücksetzen_hzk1', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_rücksetzen_hzk1', 'ParameterID': 'heizkreis_heizkreise_heizkreis_1-korrektur_aufheizoptimierung_rücksetzen_hzk1'}, 'heizkreis_heizkreise_heizkreis_2-status': {'value': 'Zeitprogramm', 'name': 'heizkreis_heizkreise_heizkreis_2-status', 'icon': 'mdi:flash', 'unit': None, 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_2-status', 'ParameterID': 'heizkreis_heizkreise_heizkreis_2-status'}, 'heizkreis_heizkreise_heizkreis_2-warmwassersolltemperatur_aktuell': {'value': 50.0, 'name': 'heizkreis_heizkreise_heizkreis_2-warmwassersolltemperatur_aktuell', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_2-warmwassersolltemperatur_aktuell', 'ParameterID': 'heizkreis_heizkreise_heizkreis_2-warmwassersolltemperatur_aktuell'}, 'heizkreis_heizkreise_heizkreis_2-warmwassertemperatur_aktuell': {'value': 48.8, 'name': 'heizkreis_heizkreise_heizkreis_2-warmwassertemperatur_aktuell', 'icon': 'mdi:thermometer', 'unit': '°C', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_2-warmwassertemperatur_aktuell', 'ParameterID': 'heizkreis_heizkreise_heizkreis_2-warmwassertemperatur_aktuell'}, 'heizkreis_heizkreise_heizkreis_2-pumpe_warmwasser': {'value': 0.0, 'name': 'heizkreis_heizkreise_heizkreis_2-pumpe_warmwasser', 'icon': 'mdi:flash', 'unit': '', 'platform': 'sensor', 'friendlyName': 'heizkreis_heizkreise_heizkreis_2-pumpe_warmwasser', 'ParameterID': 'heizkreis_heizkreise_heizkreis_2-pumpe_warmwasser'}}}

@erikkastelec
Copy link
Owner

Will look into this. I encountered a similar problem.

@dm82m
Copy link
Contributor

dm82m commented Mar 27, 2023

Occurred again

@dm82m
Copy link
Contributor

dm82m commented Mar 30, 2023

Any idea what’s next? Due to migration of entities I can’t get back to stable.

@dm82m
Copy link
Contributor

dm82m commented Mar 30, 2023

Even Restart of integration is giving that:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant.config_entries
Source: custom_components/wemportal/coordinator.py:42
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 12:50:11 (1 occurrences)
Last logged: 12:50:11

Error setting up entry [email protected] for wemportal
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/wemportal/init.py", line 104, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in async_config_entry_first_refresh
await self._async_refresh(
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/wemportal/coordinator.py", line 42, in _async_update_data
return await self.hass.async_add_executor_job(self.api.fetch_data)
asyncio.exceptions.CancelledError

@erikkastelec
Copy link
Owner

Expect a fix today

@dm82m
Copy link
Contributor

dm82m commented Mar 31, 2023

Again gets offline:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.wemportal
Source: custom_components/wemportal/sensor.py:117
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 00:15:02 (161 occurrences)
Last logged: 06:42:11

Can't find f7ad0827d125d6220474a66849c330ae:4813:outside_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:hot_water_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:heat_output
Can't find f7ad0827d125d6220474a66849c330ae:4813:flow_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:system_pressure

@dm82m
Copy link
Contributor

dm82m commented Apr 1, 2023

Again:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.wemportal
Source: custom_components/wemportal/sensor.py:117
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 09:59:37 (357 occurrences)
Last logged: 14:11:46

Can't find f7ad0827d125d6220474a66849c330ae:4813:outside_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:hot_water_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:heat_output
Can't find f7ad0827d125d6220474a66849c330ae:4813:flow_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:system_pressure

@dm82m
Copy link
Contributor

dm82m commented Apr 2, 2023

Any update Erik? Sorry bothering you, but as you know - I can’t step back to old version so I am relying on your updates. 🥴

erikkastelec added a commit that referenced this issue Apr 2, 2023
@erikkastelec
Copy link
Owner

This should solve the problem. Entities should be unavailable for maximum of one api scan interval if there is some unknown error, for any known errors there should be no downtime.

I will keep testing for underlying problem, but we seem to get a bunch of different error codes or no response at all when session expires.

Thanks for your patience.

@dm82m
Copy link
Contributor

dm82m commented Apr 5, 2023

error is back and not recovering:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.wemportal
Source: custom_components/wemportal/wemportalapi.py:137
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 4. April 2023 um 09:30:36 (202 occurrences)
Last logged: 17:08:29

An error occurred while gathering data.This issue should resolve by itself. If this problem persists,open an issue at https://github.com/erikkastelec/hass-WEM-Portal/issues Server returned status code: and message:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.wemportal
Source: custom_components/wemportal/sensor.py:117
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 4. April 2023 um 03:44:25 (1361 occurrences)
Last logged: 17:08:29

Can't find f7ad0827d125d6220474a66849c330ae:4813:outside_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:hot_water_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:heat_output
Can't find f7ad0827d125d6220474a66849c330ae:4813:flow_temperature
Can't find f7ad0827d125d6220474a66849c330ae:4813:system_pressure

@erikkastelec
Copy link
Owner

Hope this helps. If not, I will have to look into this further and possibly rewrite some things.

erikkastelec added a commit that referenced this issue Apr 6, 2023
@dm82m
Copy link
Contributor

dm82m commented Apr 11, 2023

Looks good so far! 🚀👍

@erikkastelec
Copy link
Owner

Hey @dm82m , I haven't had any issues since the last update. Have you? If not, I will be moving the new version to the main branch.

Thank you again for all the help testing this

@dm82m
Copy link
Contributor

dm82m commented Apr 17, 2023

Sometimes values wenting offline but integration recovers itself. So for me you can release it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants