Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configure failing for TS0121_plug _TZ3000_3ooaz3ng #5541

Merged
merged 2 commits into from
Mar 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions devices/tuya.js
Original file line number Diff line number Diff line change
Expand Up @@ -2604,11 +2604,12 @@ module.exports = [
});
try {
await reporting.currentSummDelivered(endpoint);
} catch (error) {/* fails for some https://github.com/Koenkk/zigbee2mqtt/issues/11179 */}
await reporting.rmsVoltage(endpoint, {change: 5});
await reporting.rmsCurrent(endpoint, {change: 50});
await reporting.activePower(endpoint, {change: 10});
} catch (error) {/* fails for some https://github.com/Koenkk/zigbee2mqtt/issues/11179
and https://github.com/Koenkk/zigbee2mqtt/issues/16864 */}
await endpoint.read('genOnOff', ['onOff', 'moesStartUpOnOff', 'tuyaBacklightMode']);
await reporting.rmsVoltage(endpoint, {change: 5});
await reporting.rmsCurrent(endpoint, {change: 50});
await reporting.activePower(endpoint, {change: 10});
},
options: [exposes.options.measurement_poll_interval()],
// This device doesn't support reporting correctly.
Expand Down