Skip to content

Commit

Permalink
Fix configure failing for MS-104Z-1. Koenkk/zigbee2mqtt#4598
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Oct 8, 2020
1 parent 0e33713 commit e456c93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,13 @@ const devices = [
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(1);
await bind(endpoint, coordinatorEndpoint, ['genOnOff']);
await configureReporting.onOff(endpoint);
try {
// Fails for some devices.
// https://github.com/Koenkk/zigbee2mqtt/issues/4598
await configureReporting.onOff(endpoint);
} catch (e) {
e;
}
},
},
{
Expand Down

0 comments on commit e456c93

Please sign in to comment.