mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-10 01:14:33 +02:00
removed unused arguments
This commit is contained in:
parent
b2c268a1c0
commit
7d9470133e
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# async_setup
|
# async_setup
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
async def async_setup(hass, config):
|
async def async_setup(hass, _):
|
||||||
"""Set up configured Mikrotik Controller."""
|
"""Set up configured Mikrotik Controller."""
|
||||||
hass.data[DOMAIN] = {}
|
hass.data[DOMAIN] = {}
|
||||||
hass.data[DOMAIN][DATA_CLIENT] = {}
|
hass.data[DOMAIN][DATA_CLIENT] = {}
|
||||||
|
|
|
@ -54,7 +54,7 @@ class MikrotikControllerData():
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# force_update
|
# force_update
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
async def force_update(self, now=None):
|
async def force_update(self, _):
|
||||||
"""Trigger update by timer"""
|
"""Trigger update by timer"""
|
||||||
await self.async_update()
|
await self.async_update()
|
||||||
return
|
return
|
||||||
|
@ -62,7 +62,7 @@ class MikrotikControllerData():
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# force_fwupdate_check
|
# force_fwupdate_check
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
async def force_fwupdate_check(self, now=None):
|
async def force_fwupdate_check(self, _):
|
||||||
"""Trigger hourly update by timer"""
|
"""Trigger hourly update by timer"""
|
||||||
await self.async_fwupdate_check()
|
await self.async_fwupdate_check()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue