Skip to content

Commit

Permalink
feat(add): S902M-ZG Koenkk/zigbee2mqtt#14733
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed May 24, 2023
1 parent 20b1e9b commit 2b45558
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/devices/hzc.js
Expand Up @@ -18,4 +18,13 @@ module.exports = [
await reporting.batteryPercentageRemaining(endpoint);
},
},
{
zigbeeModel: ['HZC Electric motion sensor'],
model: 'S902M-ZG',
vendor: 'HZC',
description: 'Motion sensor',
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.illuminance],
toZigbee: [],
exposes: [e.occupancy(), e.battery_low(), e.battery(), e.illuminance(), e.tamper()],
},
];

0 comments on commit 2b45558

Please sign in to comment.