Skip to content

Commit

Permalink
Add Elko EKO09738 as whitelabel to EKO09738. Koenkk/zigbee2mqtt.io#1979
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored and pull[bot] committed Nov 26, 2023
1 parent 0c403e4 commit 27ccd1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devices/schneider_electric.js
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ module.exports = [
toZigbee: [tz.on_off, tz.power_on_behavior],
exposes: [e.switch(), e.power(), e.energy(), exposes.enum('power_on_behavior', ea.ALL, ['off', 'previous', 'on'])
.withDescription('Controls the behaviour when the device is powered on'), e.current(), e.voltage()],
whiteLabel: [{vendor: 'Elko', model: 'EKO09738', description: 'SmartStikk'}],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(6);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
Expand Down

0 comments on commit 27ccd1a

Please sign in to comment.