Skip to content

Commit

Permalink
fix: Fix TuYa TS000F_power current value incorrect Koenkk/zigbee2mqtt…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 23, 2023
1 parent f75f15c commit 044dab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,7 @@ const definitions: Definition[] = [
await reporting.rmsVoltage(endpoint, {change: 5});
await reporting.rmsCurrent(endpoint, {change: 50});
await reporting.currentSummDelivered(endpoint);
endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {acCurrentDivisor: 1000, acCurrentMultiplier: 1});
endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1});
device.save();
},
Expand Down

0 comments on commit 044dab3

Please sign in to comment.