custom-components / youtube

A platform which give you info about the newest video on a channel
MIT License
57 stars 17 forks source link

Various warnings in 2021.12 #49

Closed DavyRoswinkel closed 2 years ago

DavyRoswinkel commented 2 years ago

Version of the custom_component

version 0.8.0 Describe the bug Warnings about The loop keyword argument is deprecated Issue is since core-2021.12 log

 Logger: homeassistant.helpers.frame
Source: helpers/frame.py:103
First occurred: 05:30:20 (4 occurrences)
Last logged: 05:30:23

    Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue to the custom component author for youtube using this method at custom_components/youtube/sensor.py, line 39: async with async_timeout.timeout(10, loop=hass.loop):
    Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue to the custom component author for youtube using this method at custom_components/youtube/sensor.py, line 74: async with async_timeout.timeout(10, loop=self.hass.loop):
    Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue to the custom component author for youtube using this method at custom_components/youtube/sensor.py, line 139: async with async_timeout.timeout(10, loop=hass.loop):
    Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue to the custom component author for youtube using this method at custom_components/youtube/sensor.py, line 156: async with async_timeout.timeout(10, loop=hass.loop):
Add your logs here.
uherting commented 2 years ago

I can confirm the above from @DavyRoswinkel . Found the same warnings in my logs.