From f7cbaa41a72e3decdfb8d722653504e8369aa0b0 Mon Sep 17 00:00:00 2001 From: Evan Schalton Date: Sat, 16 Mar 2024 17:22:52 +0000 Subject: [PATCH] fix: bump version & rename temp: --- custom_components/tuya_openapi/manifest.json | 2 +- custom_components/tuya_openapi/sensor.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/tuya_openapi/manifest.json b/custom_components/tuya_openapi/manifest.json index daa17c1..c853727 100644 --- a/custom_components/tuya_openapi/manifest.json +++ b/custom_components/tuya_openapi/manifest.json @@ -54,5 +54,5 @@ "requirements": [ "tuya-iot-py-sdk==0.6.6" ], - "version": "0.0.0" + "version": "0.0.1" } \ No newline at end of file diff --git a/custom_components/tuya_openapi/sensor.py b/custom_components/tuya_openapi/sensor.py index 4a8aedc..cc56a0c 100644 --- a/custom_components/tuya_openapi/sensor.py +++ b/custom_components/tuya_openapi/sensor.py @@ -640,7 +640,6 @@ class TuyaSensorEntityDescription(SensorEntityDescription): for i in ( TuyaSensorEntityDescription( key=dp_code, - translation_key="temperature", device_class=SensorDeviceClass.TEMPERATURE, state_class=SensorStateClass.MEASUREMENT, name=f"{dp_code.value}_temperature",