Use core constants for hikvision (#46247)
This commit is contained in:
parent
6467eff09c
commit
c602c619a2
1 changed files with 1 additions and 2 deletions
|
@ -14,6 +14,7 @@ from homeassistant.components.binary_sensor import (
|
|||
from homeassistant.const import (
|
||||
ATTR_LAST_TRIP_TIME,
|
||||
CONF_CUSTOMIZE,
|
||||
CONF_DELAY,
|
||||
CONF_HOST,
|
||||
CONF_NAME,
|
||||
CONF_PASSWORD,
|
||||
|
@ -30,7 +31,6 @@ from homeassistant.util.dt import utcnow
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONF_IGNORED = "ignored"
|
||||
CONF_DELAY = "delay"
|
||||
|
||||
DEFAULT_PORT = 80
|
||||
DEFAULT_IGNORED = False
|
||||
|
@ -139,7 +139,6 @@ class HikvisionData:
|
|||
|
||||
def __init__(self, hass, url, port, name, username, password):
|
||||
"""Initialize the data object."""
|
||||
|
||||
self._url = url
|
||||
self._port = port
|
||||
self._name = name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue