mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-24 12:34:31 +02:00
init cleanup
This commit is contained in:
parent
0c097e2206
commit
d1a8c624fb
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ async def async_setup_entry(hass, config_entry) -> bool:
|
|||
controller = MikrotikControllerData(hass, config_entry)
|
||||
await controller.async_hwinfo_update()
|
||||
if not controller.connected():
|
||||
raise ConfigEntryNotReady(f"Cannot connect to host")
|
||||
raise ConfigEntryNotReady("Cannot connect to host")
|
||||
|
||||
await controller.async_update()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue