Clean up plum_lightpad (#37077)

pull/37280/head
Eugene Prystupa 2020-06-25 07:20:42 -04:00 committed by Paulus Schoutsen
parent 7c63cfbbc7
commit 508afd3b90
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
"""Support for Plum Lightpad lights."""
import asyncio
import logging
from typing import Callable, List
@ -52,7 +53,7 @@ async def async_setup_entry(
setup_entities(device)
device_web_session = async_get_clientsession(hass, verify_ssl=False)
hass.loop.create_task(
asyncio.create_task(
plum.discover(
hass.loop,
loadListener=new_load,