From e372dd165edbfcd8b28695f545d01d7a49095254 Mon Sep 17 00:00:00 2001 From: OStrama <66820413+OStrama@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:19:51 +0100 Subject: [PATCH] Update __init__.py --- custom_components/weishaupt_modbus/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/weishaupt_modbus/__init__.py b/custom_components/weishaupt_modbus/__init__.py index 16b0364..5844e56 100644 --- a/custom_components/weishaupt_modbus/__init__.py +++ b/custom_components/weishaupt_modbus/__init__.py @@ -49,9 +49,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: MyConfigEntry) -> bool: # with your actual devices. # hass.data.setdefault(DOMAIN, {})[entry.entry_id] = hub.Hub(hass, entry.data["host"]) mbapi = ModbusAPI(config_entry=entry) - webapi = WebifConnection(config_entry=entry) + #webapi = WebifConnection(config_entry=entry) await mbapi.connect() - await webapi.login() + #await webapi.login() itemlist = []