diff --git a/custom_components/mikrotik_router/__init__.py b/custom_components/mikrotik_router/__init__.py index e905e3a..e2c6886 100644 --- a/custom_components/mikrotik_router/__init__.py +++ b/custom_components/mikrotik_router/__init__.py @@ -24,7 +24,7 @@ _LOGGER = logging.getLogger(__name__) # --------------------------- # async_setup # --------------------------- -async def async_setup(hass, config): +async def async_setup(hass, _): """Set up configured Mikrotik Controller.""" hass.data[DOMAIN] = {} hass.data[DOMAIN][DATA_CLIENT] = {} diff --git a/custom_components/mikrotik_router/mikrotik_controller.py b/custom_components/mikrotik_router/mikrotik_controller.py index 3d1b88d..3ca558b 100644 --- a/custom_components/mikrotik_router/mikrotik_controller.py +++ b/custom_components/mikrotik_router/mikrotik_controller.py @@ -54,7 +54,7 @@ class MikrotikControllerData(): # --------------------------- # force_update # --------------------------- - async def force_update(self, now=None): + async def force_update(self, _): """Trigger update by timer""" await self.async_update() return @@ -62,7 +62,7 @@ class MikrotikControllerData(): # --------------------------- # force_fwupdate_check # --------------------------- - async def force_fwupdate_check(self, now=None): + async def force_fwupdate_check(self, _): """Trigger hourly update by timer""" await self.async_fwupdate_check() return