diff --git a/custom_components/mikrotik_router/__init__.py b/custom_components/mikrotik_router/__init__.py index 8c1661c..4d802cd 100644 --- a/custom_components/mikrotik_router/__init__.py +++ b/custom_components/mikrotik_router/__init__.py @@ -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()