From 265d5c4877d424c5a23c9de698bd9e9c790efa95 Mon Sep 17 00:00:00 2001 From: James Brechtel Date: Fri, 24 Apr 2020 16:31:42 -0400 Subject: [PATCH] Support Linkind PIR motion in HA (#3423) * Support Linkind PIR motion in HA This marks the Linkind PIR motion sensor as having binary_sensor_occupancy with HomeAssistant. The sensor likely has additional capabilities like battery reporting but I don't know how to make sense of the rest of its information yet. * Update homeassistant.js Co-authored-by: Koen Kanters --- lib/extension/homeassistant.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index ad08a5961..ae4258294 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1564,6 +1564,7 @@ const mapping = { 'AU-A1ZBPIRS': [cfg.binary_sensor_occupancy, cfg.binary_sensor_battery_low], 'TS0121': [cfg.switch], 'ZK03840': [thermostat()], + 'ZS1100400-IN-V1A02': [cfg.binary_sensor_occupancy, cfg.binary_sensor_battery_low], }; /**