Skip to content

Commit

Permalink
Fix data type for Tuya/Hiking power meter (zigpy#2460)
Browse files Browse the repository at this point in the history
Fix for commit 6386248

Changes in commit 6386248 broke summary sensor on my Home Assistant. Probably, previous commit-author forgot to add this change in his commit.
  • Loading branch information
ArchelonU authored Jul 6, 2023
1 parent cfa949e commit 92c9fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zhaquirks/tuya/ts0601_din_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class HikingManufClusterDinPower(TuyaManufClusterAttributes):

attributes = {
HIKING_DIN_SWITCH_ATTR: ("switch", t.uint8_t, True),
HIKING_TOTAL_ENERGY_DELIVERED_ATTR: ("energy_delivered", t.uint16_t, True),
HIKING_TOTAL_ENERGY_DELIVERED_ATTR: ("energy_delivered", t.uint32_t, True),
HIKING_TOTAL_ENERGY_RECEIVED_ATTR: ("energy_received", t.uint16_t, True),
HIKING_VOLTAGE_CURRENT_ATTR: ("voltage_current", t.uint32_t, True),
HIKING_POWER_ATTR: ("power", t.uint16_t, True),
Expand Down

0 comments on commit 92c9fbc

Please sign in to comment.