Skip to content

Commit 0d77ae6

Browse files
committed
Fix multiplayer
1 parent 3ab27a6 commit 0d77ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zhaquirks/tuya/tuya_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class ClientCommandDefs(TuyaMCUCluster.ClientCommandDefs):
376376
dp_id=38,
377377
attribute_name="temperature_external",
378378
type=t.int32s,
379-
converter=lambda x: x / 100, # Divide by 100 to get correct temperature
379+
converter=lambda x: x / 10, # Divide by 10 to get correct temperature
380380
device_class=SensorDeviceClass.TEMPERATURE,
381381
state_class=SensorStateClass.MEASUREMENT,
382382
unit=UnitOfTemperature.CELSIUS,

0 commit comments

Comments
 (0)