mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-22 03:34:23 +02:00
removed redundant returns
This commit is contained in:
parent
0f2cb6d455
commit
9be5a15c54
6 changed files with 0 additions and 56 deletions
|
@ -66,7 +66,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
)
|
||||
|
||||
update_controller()
|
||||
return
|
||||
|
||||
|
||||
# ---------------------------
|
||||
|
@ -91,8 +90,6 @@ def update_items(inst, mikrotik_controller, async_add_entities, tracked):
|
|||
if new_tracked:
|
||||
async_add_entities(new_tracked)
|
||||
|
||||
return
|
||||
|
||||
|
||||
# ---------------------------
|
||||
# MikrotikControllerPortDeviceTracker
|
||||
|
@ -118,11 +115,9 @@ class MikrotikControllerPortDeviceTracker(ScannerEntity):
|
|||
async def async_added_to_hass(self):
|
||||
"""Port entity created."""
|
||||
_LOGGER.debug("New port tracker %s (%s %s)", self._inst, self._data['default-name'], self._data['port-mac-address'])
|
||||
return
|
||||
|
||||
async def async_update(self):
|
||||
"""Synchronize state with controller."""
|
||||
return
|
||||
|
||||
@property
|
||||
def is_connected(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue