Skip to content

Commit

Permalink
fix: Improve battery report PO-THCO-EAU (#8752)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrunois authored Feb 6, 2025
1 parent 40be450 commit 1799090
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 @@ -4521,7 +4521,7 @@ const definitions: DefinitionWithExtend[] = [
[16, 'current_heating_setpoint', tuya.valueConverter.divideBy2],
[24, 'local_temperature', tuya.valueConverter.divideBy10],
[30, 'child_lock', tuya.valueConverter.lockUnlock],
[34, 'battery', tuya.valueConverter.raw],
[34, 'battery', tuya.valueConverterBasic.scale(0, 100, 50, 150)],
[101, 'comfort_temperature', tuya.valueConverter.divideBy2],
[102, 'eco_temperature', tuya.valueConverter.divideBy2],
[103, 'holiday_temperature', tuya.valueConverter.divideBy2],
Expand Down

0 comments on commit 1799090

Please sign in to comment.