diff --git a/homeassistant/components/binary_sensor/hikvision.py b/homeassistant/components/binary_sensor/hikvision.py index 36ec8b7b61a..e87fcb7980a 100644 --- a/homeassistant/components/binary_sensor/hikvision.py +++ b/homeassistant/components/binary_sensor/hikvision.py @@ -18,7 +18,7 @@ from homeassistant.const import ( CONF_SSL, EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START, ATTR_LAST_TRIP_TIME, CONF_CUSTOMIZE) -REQUIREMENTS = ['pyhik==0.1.4'] +REQUIREMENTS = ['pyhik==0.1.8'] _LOGGER = logging.getLogger(__name__) CONF_IGNORED = 'ignored' @@ -48,6 +48,9 @@ DEVICE_CLASS_MAP = { 'Face Detection': 'motion', 'Scene Change Detection': 'motion', 'I/O': None, + 'Unattended Baggage': 'motion', + 'Attended Baggage': 'motion', + 'Recording Failure': None, } CUSTOMIZE_SCHEMA = vol.Schema({ diff --git a/requirements_all.txt b/requirements_all.txt index 90c00310eaf..4e34dce7a19 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -736,7 +736,7 @@ pyfttt==0.3 pyharmony==1.0.20 # homeassistant.components.binary_sensor.hikvision -pyhik==0.1.4 +pyhik==0.1.8 # homeassistant.components.hive pyhiveapi==0.2.11