diff --git a/custom_components/dirigera_platform/cover.py b/custom_components/dirigera_platform/cover.py index baf45b2..0f14945 100644 --- a/custom_components/dirigera_platform/cover.py +++ b/custom_components/dirigera_platform/cover.py @@ -29,7 +29,7 @@ async def async_setup_entry(hass: core.HomeAssistant, config_entry: config_entri mock_blind2 = ikea_blinds_mock(hub,"mock_blind2") blinds = [mock_blind1,mock_blind2] else: - hub_blinds = await hass.async_add_executor_job(hub.get_outlets) + hub_blinds = await hass.async_add_executor_job(hub.get_blinds) blinds = [ikea_blinds(hub, blind) for blind in hub_blinds] logger.debug("Found {} blinds entities to setup...".format(len(blinds))) @@ -128,4 +128,4 @@ def update(self): except Exception as ex: logger.error("error encountered running update on : {}".format(self.name)) logger.error(ex) - raise HomeAssistantError(ex,DOMAIN,"hub_exception") \ No newline at end of file + raise HomeAssistantError(ex,DOMAIN,"hub_exception")