home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.56k stars 30.74k forks source link

Upgrading to 2021.7 and 2021.8 fills the logs with asnyio WARNINGS #54159

Closed foxy82 closed 3 years ago

foxy82 commented 3 years ago

The problem

After upgrading to 2021.7 and 2021.8 the Home Assistant logs are full of asyncio warnings.

What is version of Home Assistant Core has the issue?

core-2021.7 and core-2021.8

What was the last working version of Home Assistant Core?

core-2021.6

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

No response

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-08-06 16:37:36 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-19431' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.362 seconds
2021-08-06 16:37:37 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-19443' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.451 seconds
2021-08-06 16:38:06 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-19882' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.324 seconds
2021-08-06 16:38:07 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-19899' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.407 seconds
2021-08-06 16:38:26 WARNING (MainThread) [asyncio] Executing <Handle async_dispatcher_send(<homeassistan...x7f15c9f11d90>, 'cast_discovered', ChromecastInf...ic_group=None)) at /usr/src/homeassistant/homeassistant/helpers/dispatcher.py:75 created at /usr/src/homeassistant/homeassistant/helpers/dispatcher.py:72> took 0.297 seconds
2021-08-06 16:38:36 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-20634' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.429 seconds
2021-08-06 16:38:37 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-20651' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.392 seconds
2021-08-06 16:39:06 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-21203' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.313 seconds
2021-08-06 16:39:07 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-21215' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.372 seconds
2021-08-06 16:39:36 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-21809' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.352 seconds
2021-08-06 16:39:36 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-21811' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.108 seconds
2021-08-06 16:39:37 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-21824' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.368 seconds
2021-08-06 16:39:49 INFO (MainThread) [homeassistant.components.light] Setting up light.netatmo
2021-08-06 16:39:49 INFO (MainThread) [homeassistant.components.select] Setting up select.netatmo
2021-08-06 16:39:49 INFO (MainThread) [homeassistant.components.climate] Setting up climate.netatmo
2021-08-06 16:39:49 INFO (MainThread) [homeassistant.components.camera] Setting up camera.netatmo
2021-08-06 16:39:50 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.netatmo
2021-08-06 16:40:06 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-22279' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.409 seconds
2021-08-06 16:40:07 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-22289' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.348 seconds
2021-08-06 16:40:36 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-22843' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.430 seconds
2021-08-06 16:40:37 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-22861' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.332 seconds
2021-08-06 16:40:40 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-6587' coro=<WebsocketEchoClient.process_messages() running at /usr/local/lib/python3.9/site-packages/alexapy/alexawebsocket.py:141> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f15a69c3130>()] created at /usr/local/lib/python3.9/asyncio/base_events.py:424> cb=[WebsocketEchoClient.on_close()] created at /usr/local/lib/python3.9/site-packages/alexapy/alexawebsocket.py:134> took 0.209 seconds
2021-08-06 16:41:06 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-23333' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.449 seconds
2021-08-06 16:41:07 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-23343' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:131> result=None created at /usr/src/homeassistant/homeassistant/core.py:362> took 0.305 seconds


### Additional information

_No response_
ludeeus commented 3 years ago

What integrations are you using?

foxy82 commented 3 years ago

These are the ones listed in Home Assistant info page.

adguard
alarm_control_panel 
alexa   
alexa_media 
analytics   
api 
auth    
automation  
bhyve   
binary_sensor   
blueprint   
braviatv    
broadlink   
camera  
cast    
climate 
cloud   
config  
counter 
cover   
debugpy 
deconz  
default_config  
device_automation   
device_tracker  
dhcp    
dnsip   
evohome 
fan 
ffmpeg  
flux    
frontend    
generic 
generic_thermostat  
google_assistant    
google_translate    
group   
hacs    
harmony 
hassio  
history 
home_connect    
homeassistant   
homekit 
http    
hue 
hyperion    
image   
influxdb    
input_boolean   
input_datetime  
input_number    
input_select    
input_text  
ipp 
light   
lock    
logbook 
logger  
london_underground  
lovelace    
map 
media_player    
media_source    
metoffice   
mobile_app  
mqtt    
my  
nest    
netatmo 
network 
notify  
octoprint   
onboarding  
onkyo   
panasonic_cc    
persistent_notification 
person  
philips_js  
plex    
python_script   
recorder    
remote  
rfxtrx  
roku    
roomba  
scene   
script  
search  
sensor  
smartir 
snapcast    
spotify 
ssdp    
stream  
sun 
switch  
system_health   
system_log  
systemmonitor   
tag 
telegram    
telegram_bot    
template    
time_date   
timer   
tplink  
trace   
tts 
unifi   
universal   
updater 
vacuum  
wake_on_lan 
warmup  
weather 
webhook 
websocket_api   
wled    
workday 
zeroconf    
zone    
zwave_js    
ludeeus commented 3 years ago

debugpy enable those, if you do not want them, don't use that integration :+1:

foxy82 commented 3 years ago

Thanks