Core: TPLink Switch fails to load in 0.88 and 0.89.

Created on 9 Mar 2019  路  3Comments  路  Source: home-assistant/core

Home Assistant release with the issue:

0.89, 0.88

Last working Home Assistant release (if known):
0.87

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io

Component/platform:

tplink

Description of problem:
The latest couple updates I've been getting the following after rebooting, and my tplink switch isn't loading at all.

Loading as a platform is no longer supported, convert to use the tplink component.
7:59 PM components/tplink/switch.py (WARNING)
Setup of recorder is taking over 10 seconds.
7:59 PM __main__.py (WARNING)

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

switch:
  - platform: tplink
    host: 192.168.1.174

Traceback (if applicable):

Fri Mar 08 2019 19:59:14 GMT-0600 (Central Standard Time)

Error while setting up platform tplink
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 127, in _async_setup_platform
    asyncio.shield(task, loop=hass.loop),
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 769, in shield
    inner = ensure_future(arg, loop=loop)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 592, in ensure_future
    raise TypeError('An asyncio.Future, a coroutine or an awaitable is '
TypeError: An asyncio.Future, a coroutine or an awaitable is required

Additional information:

Most helpful comment

Ah, yep. Someone should get rid of the outdated webpage...
The latest is: https://www.home-assistant.io/components/tplink/

This is what you get when you google "home assistant tplink", which doesn't work: https://www.home-assistant.io/components/switch.tplink/

All 3 comments

It changed, you should search for a generic (tplink home or something like that) and modify your configuration.yaml according to that.

Ah, yep. Someone should get rid of the outdated webpage...
The latest is: https://www.home-assistant.io/components/tplink/

This is what you get when you google "home assistant tplink", which doesn't work: https://www.home-assistant.io/components/switch.tplink/

I already opened an Issue for this and i am waiting for feedback how this should be solved
https://github.com/home-assistant/home-assistant.io/issues/8872

Was this page helpful?
0 / 5 - 0 ratings