Skip to content

Commit

Permalink
Added missing Legrand led_in_dark FZ converter
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMangold committed Aug 2, 2023
1 parent ab9958a commit f09a0c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -3930,6 +3930,13 @@ const converters = {
}
},
},
legrand_led_in_dark: {
cluster: 'manuSpecificLegrandDevices',
type: ['attributeReport', 'readResponse'],
convert: (model, msg, publish, options, meta) => {
return {led_in_dark: msg.data[1] === 1 ? 'ON' : 'OFF'};
},
},
xiaomi_power: {
cluster: 'genAnalogInput',
type: ['attributeReport', 'readResponse'],
Expand Down

0 comments on commit f09a0c5

Please sign in to comment.