mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-02-04 16:37:46 +05:00
hotfix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
"""Platform for light integration."""
|
||||
import logging
|
||||
import asyncio
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
@@ -69,7 +70,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
||||
|
||||
async_add_devices(devices)
|
||||
|
||||
await scan()
|
||||
asyncio.create_task(scan())
|
||||
|
||||
class MegaBinarySensor(BinarySensorEntity, BaseMegaEntity):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user