Fix linksys_ap.py by inheriting DeviceScanner (#10947)
As per issue #8638, the class wasn't inheriting from DeviceScanner, this commit patches it up.
This commit is contained in:
parent
22c36f0ad3
commit
bdb7a29586
1 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,8 @@ import requests
|
|||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.components.device_tracker import DOMAIN, PLATFORM_SCHEMA
|
||||
from homeassistant.components.device_tracker import (
|
||||
DOMAIN, PLATFORM_SCHEMA, DeviceScanner)
|
||||
from homeassistant.const import (
|
||||
CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_VERIFY_SSL)
|
||||
|
||||
|
@ -38,7 +39,7 @@ def get_scanner(hass, config):
|
|||
return None
|
||||
|
||||
|
||||
class LinksysAPDeviceScanner(object):
|
||||
class LinksysAPDeviceScanner(DeviceScanner):
|
||||
"""This class queries a Linksys Access Point."""
|
||||
|
||||
def __init__(self, config):
|
||||
|
|
Loading…
Add table
Reference in a new issue