Skip to content

Commit

Permalink
feat: Add additional pressed action for HEIMAN HS2SS-E_V03 (#5928)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Saint-Félix <saintfelix.laurent@gmail.com>
  • Loading branch information
Anaethelion and laughingsoftly authored Jun 29, 2023
1 parent e82fe59 commit 1ff7011
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -5915,7 +5915,10 @@ const converters = {
type: 'commandStatusChangeNotification',
convert: (model, msg, publish, options, meta) => {
if (hasAlreadyProcessedMessage(msg, model)) return;
const lookup = {32768: 'pressed'};
const lookup = {
32768: 'pressed',
32772: 'pressed',
};
const zoneStatus = msg.data.zonestatus;
return {
action: lookup[zoneStatus],
Expand Down

0 comments on commit 1ff7011

Please sign in to comment.