Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OStrama authored Dec 2, 2024
1 parent 61eb516 commit e372dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/weishaupt_modbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit e372dd1

Please sign in to comment.