Skip to content

Commit

Permalink
Fix no feedback on manual control of TuYa TS0001. Koenkk/zigbee2mqtt#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Dec 24, 2020
1 parent a68c653 commit 658e092
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,10 @@ const devices = [
extend: preset.switch,
whiteLabel: [{vendor: 'CR Smart Home', model: 'TS0001', description: 'Valve control'}, {vendor: 'Lonsonho', model: 'X701'},
{vendor: 'Bandi', model: 'BDS03G1'}],
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint) => {
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
},
},
{
zigbeeModel: ['TS0002'],
Expand Down

0 comments on commit 658e092

Please sign in to comment.