Skip to content

Commit

Permalink
feat: Support OTA for BTicino L4411C/N4411C/NT4411C and K4003C/L4003C…
Browse files Browse the repository at this point in the history
…/N4003C/NT4003C (#6052)

* feat: Add OTA support for Bticino 4003C

* feat: Add OTA support for Bticino 4411C
  • Loading branch information
RyuzakiKK authored Aug 6, 2023
1 parent e92b260 commit d0e7bf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devices/bticino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const definitions: Definition[] = [
e.binary('led_if_on', ea.ALL, 'ON', 'OFF').withDescription('Enables the LED when the light is turned on'),
e.enum('identify', ea.SET, ['blink']).withDescription(`Blinks the built-in LED to make it easier to find the device`),
],
ota: ota.zigbeeOTA,
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'genBinaryInput']);
Expand All @@ -49,6 +50,7 @@ const definitions: Definition[] = [
e.binary('led_if_on', ea.ALL, 'ON', 'OFF').withDescription('Enables the LED when the light is turned on'),
e.enum('identify', ea.SET, ['blink']).withDescription(`Blinks the built-in LED to make it easier to find the device`),
],
ota: ota.zigbeeOTA,
configure: async (device, coordinatorEndpoint, logger) => {
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
const endpoint = device.getEndpoint(1);
Expand Down

0 comments on commit d0e7bf4

Please sign in to comment.