-
Notifications
You must be signed in to change notification settings - Fork 24
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
Detected that custom integration 'edgeos' calls async_create_task #130
Comments
It is the same as #129, i'm working on it and hope to have a fix during the upcoming weekend |
Thank you! |
Also have this kind of error with the new update 2024.5, nothing working anymore. |
It will not work due to breaking change in HA, you can disable the integration up until it will get fixed |
released v2.1.0, pls check and report |
@elad-bar After updating and re-enabling the component it failed to setup with this error:
...
|
Please remove, restart and add again |
Same issue, but removing restarting and re-adding worked for me! Thanks for your hard work. |
Removed and re-added worked, however I have noticed that UBNT Interface ETHX Status has changed from a binary sensor to a switch, which results in the following error: 2024-05-03 12:14:00.104 ERROR (MainThread) [custom_components.edgeos.data_processors.interface_processor] Failed to extract Interfaces data, Error: 'switch' is not a valid InterfaceTypes, Line: 105 |
Also, you might want to check something, my sensor.ubnt_interface_eth4_received_rate (ETH4 is my WAN port), has a B/s of 367,075,892,489.0 which is VERY fast :) I have some template helpers setup like this: {{ states('sensor.ubnt_interface_eth4_received_rate') | multiply(0.000010) | round(1) }} ETH4 Send Rate is same as it was before update, but ETH4 Received date is 3,670,932.0 Mbit/s |
Worked brilliantly until the upgrade to 2024.5. This error originated from a custom integration. Logger: custom_components.edgeos.managers.flow_manager Failed to create integration, Error Key: invalid_server_details |
Note: Im on 2024.5 and the remove, restart, add process worked fine for me with v2.1.0. Core 2024.5.0 |
After hard power off / on cycle adding integration worked first time. Sorry, should have done that first...... |
Happy to see, sorry for the mess with the breaking change, tried my best to avoid it |
If that still happens, can you pls provide diagnostic file (or would like to analyze it first)? Thanks |
yep, the interface changed. and getting the same error |
Will add back support for switch interface later today |
release v2.1.1 with fix for the switch interface and missing functionality of units |
I still don’t have my wiregard interface anymore with the latest release ( 2.1.1 ) and also the status for each interface is not there anymore ..
|
closing this issue as it was solved, other issues are reported or resolved as well |
Core 2024.5.0
Supervisor 2024.04.4
Operating System 12.2
Frontend 20240501.0
ha-edgeos 2.0.32
2024-05-02 14:42:07.804 WARNING (SyncWorker_50) [homeassistant.helpers.frame] Detected that custom integration 'edgeos' calls async_create_task from a thread at custom_components/edgeos/core/managers/home_assistant.py, line 77: self._hass.async_create_task(self.async_send_heartbeat()), please report it to the author of the 'edgeos' custom integration 2024-05-02 14:42:07.804 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/edgeos/core/managers/home_assistant.py", line 77, in _send_heartbeat self._hass.async_create_task(self.async_send_heartbeat()) File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task self.verify_event_loop_thread("async_create_task") File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread frame.report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report _report_integration(what, integration_frame, level, error_if_integration) File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration raise RuntimeError( RuntimeError: Detected that custom integration 'edgeos' calls async_create_task from a thread at custom_components/edgeos/core/managers/home_assistant.py, line 77: self._hass.async_create_task(self.async_send_heartbeat()). Please report it to the author of the 'edgeos' custom integration. 2024-05-02 14:42:08.136 WARNING (SyncWorker_8) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:09.137 WARNING (SyncWorker_55) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:10.138 WARNING (SyncWorker_3) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:11.139 WARNING (SyncWorker_63) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:12.140 WARNING (SyncWorker_13) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:13.142 WARNING (SyncWorker_16) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:14.142 WARNING (SyncWorker_6) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:15.142 WARNING (SyncWorker_26) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:16.143 WARNING (SyncWorker_7) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:17.144 WARNING (SyncWorker_11) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:18.145 WARNING (SyncWorker_12) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:19.146 WARNING (SyncWorker_52) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:20.146 WARNING (SyncWorker_42) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:21.147 WARNING (SyncWorker_39) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:22.148 WARNING (SyncWorker_45) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:23.149 WARNING (SyncWorker_41) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request 2024-05-02 14:42:24.150 WARNING (SyncWorker_29) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request
The text was updated successfully, but these errors were encountered: