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 <koenkanters94@gmail.com>
This commit is contained in:
James Brechtel 2020-04-24 16:31:42 -04:00 committed by GitHub
parent 63ecc1501d
commit 265d5c4877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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],
};
/**