Skip to content

Commit

Permalink
Add iluminize Switch 1200 with neutral (#2508)
Browse files Browse the repository at this point in the history
  • Loading branch information
theimo1221 authored Apr 24, 2021
1 parent ad96248 commit 0c6a0c7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -12709,6 +12709,19 @@ const devices = [
await reporting.onOff(endpoint);
},
},
{
zigbeeModel: ['5120.1200'],
model: '5120.1200',
vendor: 'Iluminize',
description: 'Zigbee 3.0 switch mini 1x230V with neutral, 200W/400W',
extend: preset.switch(),
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1) || device.getEndpoint(3);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(endpoint);
},
},
{
zigbeeModel: ['5120.1210'],
model: '5120.1210',
Expand Down

0 comments on commit 0c6a0c7

Please sign in to comment.