From d1b661b7bd6030b5c2425102a2402ab0aa88917e Mon Sep 17 00:00:00 2001 From: Nicholas Romyn Date: Fri, 23 Feb 2024 15:09:30 -0500 Subject: [PATCH] Update cover.py fixing typo --- custom_components/dirigera_platform/cover.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")