removed unused arguments

This commit is contained in:
tomaae 2019-12-05 20:43:00 +01:00
parent b2c268a1c0
commit 7d9470133e
2 changed files with 3 additions and 3 deletions

View file

@ -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] = {}

View file

@ -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