Closed dave-code-ruiz closed 2 months ago
home-assistant_uponor_2024-07-04T12-23-36.024Z.log
Hopefully this goes in the right direction with this logging. If something else needed, let me know (and also where to find as I am kind of new in HA and no software/IT background)
home-assistant_uponor_2024-07-04T12-23-36.024Z.log
Hopefully this goes in the right direction with this logging. If something else needed, let me know (and also where to find as I am kind of new in HA and no software/IT background)
You need to change files climate.py and init,py in your custom_components/uponor folder with my files in this PR and restart, then post new homeassistant log file
After change the files climate and init, the intergration doesn't start-up anymore. Can't run any debug file as it is not available
Edit. My mistake, did something wrong. See the new log file
2024-07-04 15:52:56.355 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartthings_soundbar 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
2024-07-04 15:52:56.358 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration buienalarm 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
2024-07-04 15:52:56.360 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs 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
2024-07-04 15:52:56.362 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration uponor 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
2024-07-04 15:52:56.364 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration neerslag 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
2024-07-04 15:53:02.444 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'neerslag' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_paths([StaticPathConfig("/neerslag-card.js", "/config/custom_components/neerslag/home-assistant-neerslag-card/neerslag-card.js", False)])
; This function will be removed in 2025.7 at custom_components/neerslag/load_frontend.py, line 20: hass.http.register_static_path(FRONTEND_SCRIPT_URL, str(path_to_file), should_cache), please create a bug report at https://github.com/aex351/home-assistant-neerslag-app/issues
2024-07-04 15:53:02.455 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'neerslag' calls async_forward_entry_setup for integration, neerslag with title: Neerslag App and entry_id: 2893db6d1d09a4dc4d458f2e82ee02ca, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/neerslag/init.py, line 54: hass.async_create_task(, please create a bug report at https://github.com/aex351/home-assistant-neerslag-app/issues
2024-07-04 15:53:05.647 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'uponor' calls async_forward_entry_setup for integration, uponor with title: Uponor and entry_id: 4fa0b12074d076b2e081e28044257c2f, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/uponor/init.py, line 51: await hass.config_entries.async_forward_entry_setup(config_entry, Platform.CLIMATE), please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-07-04 15:53:07.823 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend_experimental", False)])
; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 49: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-04 15:53:07.834 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])
; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-04 15:53:07.860 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-04 15:53:12.125 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration neerslag with title: Neerslag App and entry_id: 2893db6d1d09a4dc4d458f2e82ee02ca, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
File "
Ok , log it shows all work fine.
If integration work fine , and update states, only wait possible api errors or warnings
tomorrow, I send you new code to solves this warning:
Detected that custom integration 'uponor' calls async_forward_entry_setup for integration, uponor with title: Uponor
It's update with the suggestion above, but it stopped again after approx. 1 hour it seems. See the log file home-assistant_uponor_2024-07-05T06-31-19.009Z.log
Ok, i commit new changes to files, You need to change files climate.py, switch.py and init,py in your custom_components/uponor folder with my files in this PR and restart, then post new homeassistant log file
Thanks
Here you go, the new log files;
2024-07-05 11:38:30.276 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartthings_soundbar 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
2024-07-05 11:38:30.279 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration buienalarm 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
2024-07-05 11:38:30.281 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs 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
2024-07-05 11:38:30.283 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration uponor 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
2024-07-05 11:38:30.286 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration neerslag 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
2024-07-05 11:38:44.035 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend_experimental", False)])
; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 49: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-05 11:38:44.046 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])
; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-05 11:38:44.057 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-05 11:38:44.537 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'neerslag' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_paths([StaticPathConfig("/neerslag-card.js", "/config/custom_components/neerslag/home-assistant-neerslag-card/neerslag-card.js", False)])
; This function will be removed in 2025.7 at custom_components/neerslag/load_frontend.py, line 20: hass.http.register_static_path(FRONTEND_SCRIPT_URL, str(path_to_file), should_cache), please create a bug report at https://github.com/aex351/home-assistant-neerslag-app/issues
2024-07-05 11:38:44.549 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'neerslag' calls async_forward_entry_setup for integration, neerslag with title: Neerslag App and entry_id: 2893db6d1d09a4dc4d458f2e82ee02ca, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/neerslag/init.py, line 54: hass.async_create_task(, please create a bug report at https://github.com/aex351/home-assistant-neerslag-app/issues
2024-07-05 11:38:45.457 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'uponor' calls async_add_job
, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/uponor/init.py, line 266: self._hass.async_add_job(async_dispatcher_send, self._hass, SIGNAL_UPONOR_STATE_UPDATE), please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-07-05 11:38:45.467 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'uponor' calls async_forward_entry_setup for integration, uponor with title: Uponor and entry_id: 4fa0b12074d076b2e081e28044257c2f, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/uponor/init.py, line 60: await hass.config_entries.async_forward_entry_setup(config_entry, Platform.CLIMATE), please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-07-05 11:38:48.224 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'uponor' calls async_forward_entry_setup for integration, uponor with title: Uponor and entry_id: 4fa0b12074d076b2e081e28044257c2f, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/uponor/init.py, line 61: await hass.config_entries.async_forward_entry_setup(config_entry, Platform.SWITCH), please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-07-05 11:38:48.247 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Uponor for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 221, in async_setup_entry
return await component.async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 184, in async_setup_entry
raise ValueError(
ValueError: Config entry Uponor (4fa0b12074d076b2e081e28044257c2f) for uponor.climate has already been setup!
2024-07-05 11:38:48.257 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Uponor for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/switch/init.py", line 92, in async_setup_entry
return await component.async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 184, in async_setup_entry
raise ValueError(
ValueError: Config entry Uponor (4fa0b12074d076b2e081e28044257c2f) for uponor.switch has already been setup!
2024-07-05 11:38:48.320 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration neerslag with title: Neerslag App and entry_id: 2893db6d1d09a4dc4d458f2e82ee02ca, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
File "
Thank you for the contribution ❤️
After 11 hours, it's still working! So far so good 👍
Trying to solves asev#52