We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab27a6 commit 0d77ae6Copy full SHA for 0d77ae6
zhaquirks/tuya/tuya_sensor.py
@@ -376,7 +376,7 @@ class ClientCommandDefs(TuyaMCUCluster.ClientCommandDefs):
376
dp_id=38,
377
attribute_name="temperature_external",
378
type=t.int32s,
379
- converter=lambda x: x / 100, # Divide by 100 to get correct temperature
+ converter=lambda x: x / 10, # Divide by 10 to get correct temperature
380
device_class=SensorDeviceClass.TEMPERATURE,
381
state_class=SensorStateClass.MEASUREMENT,
382
unit=UnitOfTemperature.CELSIUS,
0 commit comments