HEIMAN HS1VS-N Vibration sensor: added battery level reporting and tamper (#4365)

* HEIMAN HS1VS-N Vibration sensor: added battery level reporting and tamper

* Fix formatting

Co-authored-by: Pavel Sokolov <pavel@tvip.ru>
This commit is contained in:
Hacker-CB
2020-09-15 16:55:19 +02:00
committed by GitHub
co-authored by Pavel Sokolov
parent b4d32a9d14
commit a47217f1cc
+3 -1
View File
@@ -1042,7 +1042,9 @@ const mapping = {
'HS1DS/HS3DS': [cfg.binary_sensor_contact],
'HS1WL/HS3WL': [cfg.binary_sensor_water_leak],
'HS1-WL-E': [cfg.binary_sensor_water_leak],
'HS1VS-N': [cfg.binary_sensor_vibration],
'HS1VS-N': [
cfg.binary_sensor_vibration, cfg.sensor_battery, cfg.binary_sensor_battery_low,
cfg.binary_sensor_tamper],
'421786': [cfg.light_brightness],
'ICZB-IW11D': [cfg.light_brightness],
'3321-S': [cfg.binary_sensor_contact, cfg.sensor_temperature, cfg.sensor_battery],