mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 09:04:27 +05:00
hotfix
This commit is contained in:
@@ -85,7 +85,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
||||
devices.append(light)
|
||||
async_add_devices(devices)
|
||||
|
||||
hass.async_create_task(scan_ports())
|
||||
await scan_ports()
|
||||
|
||||
|
||||
class MegaLight(LightEntity, BaseMegaEntity):
|
||||
|
||||
Reference in New Issue
Block a user