Bump pyHik library to 0.2.2, improve connections, add sensors (#21086)
This commit is contained in:
parent
12c18d63fd
commit
c115c89afd
2 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@ from homeassistant.const import (
|
||||||
CONF_SSL, EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START,
|
CONF_SSL, EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START,
|
||||||
ATTR_LAST_TRIP_TIME, CONF_CUSTOMIZE)
|
ATTR_LAST_TRIP_TIME, CONF_CUSTOMIZE)
|
||||||
|
|
||||||
REQUIREMENTS = ['pyhik==0.1.9']
|
REQUIREMENTS = ['pyhik==0.2.2']
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONF_IGNORED = 'ignored'
|
CONF_IGNORED = 'ignored'
|
||||||
|
@ -51,6 +51,8 @@ DEVICE_CLASS_MAP = {
|
||||||
'Unattended Baggage': 'motion',
|
'Unattended Baggage': 'motion',
|
||||||
'Attended Baggage': 'motion',
|
'Attended Baggage': 'motion',
|
||||||
'Recording Failure': None,
|
'Recording Failure': None,
|
||||||
|
'Exiting Region': 'motion',
|
||||||
|
'Entering Region': 'motion',
|
||||||
}
|
}
|
||||||
|
|
||||||
CUSTOMIZE_SCHEMA = vol.Schema({
|
CUSTOMIZE_SCHEMA = vol.Schema({
|
||||||
|
|
|
@ -1053,7 +1053,7 @@ pygtt==1.1.2
|
||||||
pyhaversion==2.0.3
|
pyhaversion==2.0.3
|
||||||
|
|
||||||
# homeassistant.components.binary_sensor.hikvision
|
# homeassistant.components.binary_sensor.hikvision
|
||||||
pyhik==0.1.9
|
pyhik==0.2.2
|
||||||
|
|
||||||
# homeassistant.components.hive
|
# homeassistant.components.hive
|
||||||
pyhiveapi==0.2.17
|
pyhiveapi==0.2.17
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue