Comments (11)
Same here since updating from HA core 2024.4.4 to 2024.5.1.
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:190
First occurred: 5 May 2024 at 22:41:02 (140 occurrences)
Last logged: 09:46:25
Detected that custom integration 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)), please report it to the author of the 'hass_agent' custom integration
And
Logger: homeassistant.util.logging
Source: util/logging.py:98
First occurred: 5 May 2024 at 22:41:02 (140 occurrences)
Last logged: 09:46:25
Exception in updated when handling msg on 'hass.agent/devices/LegionLaptop': '{"serial_number":"c989177b-d3fd-44cf-a51e-4c518069bda0","device":{"identifiers":"hass.agent-LegionLaptop","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.22635.0","name":"LegionLaptop","sw_version":"2022.14.0"},"apis":{"notifications":true,"media_player":true}}' Traceback (most recent call last): File "/config/custom_components/hass_agent/__init__.py", line 147, in updated hass.async_create_task(handle_apis_changed(hass, entry, apis)) 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 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)). Please report it to the author of the 'hass_agent' custom integration.
from hass.agent.
Same issue here with 2024.5.2
Logger: homeassistant.util.logging
Quelle: util/logging.py:98
Erstmals aufgetreten: 09:57:54 (10 Vorkommnisse)
Zuletzt protokolliert: 10:02:25
Exception in updated when handling msg on 'hass.agent/devices/WORKSTATION01': '{"serial_number":"6c08fd9b-f997-499c-8e04-......","device":{"identifiers":"hass.agent-WORKSTATION01","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.22631.0","name":"WORKSTATION01","sw_version":"2022.14.0"},"apis":{"notifications":true,"media_player":true}}' Traceback (most recent call last): File "/config/custom_components/hass_agent/__init__.py", line 147, in updated hass.async_create_task(handle_apis_changed(hass, entry, apis)) 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 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)). Please report it to the author of the 'hass_agent' custom integration.
and also
Logger: py.warnings
Quelle: util/logging.py:120
Erstmals aufgetreten: 09:57:54 (10 Vorkommnisse)
Zuletzt protokolliert: 10:02:25
/usr/src/homeassistant/homeassistant/util/logging.py:120: RuntimeWarning: coroutine 'handle_apis_changed' was never awaited log_exception(format_err, *args)
from hass.agent.
This is happening to me too!
from hass.agent.
I noticed similar log entries today too. Curiously, I have 2 agent instances but only seeing log entries for one of them. Entries repeat roughly every 30 seconds.
Both use satellite service sensors which, on the offending instance, I've changed the satellite sensor reporting times to high numbers (e.g. 3000 seconds) but the log entries remain at 30 second intervals. There are no normal sensors in use on said offending instance.
Both are running the same latest versions. The main difference between the two is the OS: Win 10 Pro 22H2 for the log entry one and Win 11 Pro 23H2 for the other.
HASS
Agent: 2022.14.0
Satellite: : 2022.20.0.0
HA
Core: 2024.5.2
Supervisor: 2024.04.4
Operating System: 12.2
Frontend: 20240501.0
from hass.agent.
I'm seeing the same messages in my HA logs. Possibly related to my HASS.Agent notifications no longer working.
from hass.agent.
Can confirm, but there's also a warning line above the error line that I haven't seen anyone else post yet:
2024-05-08 10:50:58.480 WARNING (SyncWorker_46) [homeassistant.helpers.frame] Detected that custom integration 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/init.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)), please report it to the author of the 'hass_agent' custom integration
from hass.agent.
Ah. I just installed HASS.Agent for the first time and could not get it to work. Got no instance with media_player entity and notifiy service.
Just noticed this Exception in the log to. So I guess HASS.Agent is broken with newest HA?
Nah it's mostly working. Just this issue.
from hass.agent.
Media player and notifications will not work - you can use those steps to get around this hass-agent/HASS.Agent-Integration#2
from hass.agent.
Noticing these all month. It is causing my RPi4 with 4GB RAM to crash/reboot multiple times a day.
Just go through the steps linked by amadeo-alex. I did that and it fixed my issue
from hass.agent.
Ah. I just installed HASS.Agent for the first time and could not get it to work.
Got no instance with media_player entity and notifiy service.
Just noticed this Exception in the log to. So I guess HASS.Agent is broken with newest HA?
from hass.agent.
Noticing these all month. It is causing my RPi4 with 4GB RAM to crash/reboot multiple times a day.
from hass.agent.
Related Issues (20)
- Misc: MQTT running but all sensors showing as "Unknown" HOT 6
- Compatible with windows 7?
- Feature: /api/image_proxy/image.entity notifications HOT 3
- Bug: Paid Syncfusion components.
- Agent working BEFORE login? HOT 5
- Mediaplayer isnt working after name change HOT 1
- Bug: Hass Agent does not open
- Bug: Signature of installer is outdated
- Monitorwake does not release up button HOT 2
- Bug: Windows 11 notifications not popping up HOT 2
- Misc: LAB02-Research vs hass-agent.io HOT 3
- Greek Translation
- Misc: Help convert MB to GB HOT 4
- Feature:
- Feature: Reale 'sleep' command and complete dashboard
- Notify service missing in HA HOT 7
- Bug: Warning about "you must install Desktop Runtime" (7.0.11)
- Bug: RuntimeError HOT 1
- Misc: Can't Trigger an Automation once a User Is Active on their PC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass.agent.