dotKrad / hass-fpl

FPL Component for Home Assistant
MIT License
40 stars 20 forks source link

Deprecated Call in 2021.12.0 Home Assistant Version #18

Closed adam-olson closed 2 years ago

adam-olson commented 2 years ago

Version of the custom_component

2cb7f60

Configuration


Setup Using the UI interface.

Describe the bug

After upgrading to the newest Home Assistant Release 2021.12.0, there was several lines in the log file about a deprecated loop keyword argument.

Debug log


2021-12-11 15:16:27 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 95: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:27 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 115: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:28 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 178: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:28 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 211: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:28 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 245: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:28 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 281: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:30 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 320: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):
2021-12-11 15:16:30 WARNING (MainThread) [homeassistant.helpers.frame] 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 fpl using this method at custom_components/fpl/fplapi.py, line 87: async with async_timeout.timeout(TIMEOUT, loop=asyncio.get_event_loop()):