Skip to content

Commit

Permalink
Support OTA for Sonoff ZBMINI-L. Koenkk/zigbee-OTA#123
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed May 21, 2022
1 parent 0ae3207 commit b6b65d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devices/sonoff.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const constants = require('../lib/constants');
const reporting = require('../lib/reporting');
const extend = require('../lib/extend');
const e = exposes.presets;
const ota = require('../lib/ota');

module.exports = [
{
Expand All @@ -20,6 +21,7 @@ module.exports = [
model: 'ZBMINI-L',
vendor: 'SONOFF',
description: 'Zigbee smart switch (no neutral)',
ota: ota.zigbeeOTA,
extend: extend.switch(),
toZigbee: extend.switch().toZigbee.concat([tz.power_on_behavior]),
fromZigbee: extend.switch().fromZigbee.concat([fz.power_on_behavior]),
Expand Down

0 comments on commit b6b65d5

Please sign in to comment.