Skip to content

Commit

Permalink
Write fan contorl on startup. Koenkk/zigbee2mqtt#115
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 23, 2018
1 parent e2d16df commit 69dca84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,8 @@ const devices = [
};

const device = shepherd.find(ieeeAddr, 1);
device.write('hvacFanCtrl', 'fanMode', 2, () => null);

if (device) {
device.bind('genOnOff', coordinator, (error) => {
if (error) {
Expand Down

0 comments on commit 69dca84

Please sign in to comment.