Skip to content

Commit

Permalink
fix: Fix Tuya ZG-227ZL batterty % Koenkk/zigbee2mqtt#25581
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jan 13, 2025
1 parent 50f1453 commit ab83fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8482,7 +8482,7 @@ const definitions: DefinitionWithExtend[] = [
tuyaDatapoints: [
[1, 'temperature', tuya.valueConverter.divideBy10],
[2, 'humidity', tuya.valueConverter.raw],
[4, 'battery', tuya.valueConverter.divideBy2],
[4, 'battery', tuya.valueConverter.raw],
[9, 'temperature_unit', tuya.valueConverter.temperatureUnit],
[23, 'temperature_calibration', tuya.valueConverter.divideBy10],
[24, 'humidity_calibration', tuya.valueConverter.raw],
Expand Down

0 comments on commit ab83fc5

Please sign in to comment.