mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Clean up plum_lightpad (#37077)
This commit is contained in:
parent
c423501804
commit
fea5d007fc
@ -1,4 +1,5 @@
|
|||||||
"""Support for Plum Lightpad lights."""
|
"""Support for Plum Lightpad lights."""
|
||||||
|
import asyncio
|
||||||
import logging
|
import logging
|
||||||
from typing import Callable, List
|
from typing import Callable, List
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ async def async_setup_entry(
|
|||||||
setup_entities(device)
|
setup_entities(device)
|
||||||
|
|
||||||
device_web_session = async_get_clientsession(hass, verify_ssl=False)
|
device_web_session = async_get_clientsession(hass, verify_ssl=False)
|
||||||
hass.loop.create_task(
|
asyncio.create_task(
|
||||||
plum.discover(
|
plum.discover(
|
||||||
hass.loop,
|
hass.loop,
|
||||||
loadListener=new_load,
|
loadListener=new_load,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user