mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-02-04 08:27:48 +05:00
hotfix
This commit is contained in:
@@ -70,7 +70,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
||||
|
||||
async_add_devices(devices)
|
||||
|
||||
hass.async_create_task(scan())
|
||||
asyncio.create_task(scan())
|
||||
|
||||
|
||||
class MegaBinarySensor(BinarySensorEntity, BaseMegaEntity):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user