Skip to content

Commit

Permalink
Fix Zemismart SPM01 summation
Browse files Browse the repository at this point in the history
  • Loading branch information
agocsdaniel committed Sep 22, 2023
1 parent 903caf9 commit 05f950e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zhaquirks/tuya/ts0601_zemismart_power_meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ZemismartElectricalMeasurement(TuyaElectricalMeasurement):
POWER_WATT = 0x0000 # Actually this does not work. Data is interpreted as kWh.

"""Setting unit of measurement."""
_CONSTANT_ATTRIBUTES = {0x0300: POWER_WATT, POWER_DIVISOR: 1000}
_CONSTANT_ATTRIBUTES = {0x0300: POWER_WATT, POWER_DIVISOR: 100}


class ZemismartManufCluster(TuyaManufClusterAttributes):
Expand Down

0 comments on commit 05f950e

Please sign in to comment.