From a70d0b8f98f3f8e0e06b439e65b28913189dcae3 Mon Sep 17 00:00:00 2001 From: Jame Date: Thu, 29 Jun 2023 21:12:29 +1200 Subject: [PATCH] Fixed temperature sensor --- .../goldair_platinum_tower_fan_with_wifi.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/custom_components/tuya_local/devices/goldair_platinum_tower_fan_with_wifi.yaml b/custom_components/tuya_local/devices/goldair_platinum_tower_fan_with_wifi.yaml index 7f58d94091..01538f6423 100644 --- a/custom_components/tuya_local/devices/goldair_platinum_tower_fan_with_wifi.yaml +++ b/custom_components/tuya_local/devices/goldair_platinum_tower_fan_with_wifi.yaml @@ -39,13 +39,6 @@ primary_entity: - id: 6 type: integer name: timer - - id: 19 - type: integer - name: temperature - unit: C - range: - min: 0 - max: 50 secondary_entities: - entity: number name: Timer @@ -58,4 +51,13 @@ secondary_entities: unit: h range: min: 0 - max: 9 \ No newline at end of file + max: 9 + - entity: sensor + class: temperature + name: Temperature + dps: + - id: 19 + type: integer + name: sensor + class: measurement + unit: C \ No newline at end of file