4
0
Эх сурвалжийг харах

feat(klarstein_skytowergrandsmart_fan): filename and entity updates

- filename: follow convention of brandname_modelname_type.yaml
- uncomment time_remaining sensor and add optional: true so it does not affect detection

PR #3366
Jason Rumney 1 жил өмнө
parent
commit
30e8754dd2

+ 10 - 9
custom_components/tuya_local/devices/klarstein_skytower_grand_smart.yaml → custom_components/tuya_local/devices/klarstein_skytowergrandsmart_fan.yaml

@@ -62,15 +62,16 @@ entities:
             value: "8h"
           - dps_val: "9H"
             value: "9h"
-  # - entity: sensor
-    # category: diagnostic
-    # translation_key: time_remaining
-    # class: duration
-    # dps:
-      # - id: 12
-        # name: sensor
-        # type: integer
-        # unit: min
+  - entity: sensor
+    category: diagnostic
+    translation_key: time_remaining
+    class: duration
+    dps:
+      - id: 12
+        name: sensor
+        type: integer
+        optional: true
+        unit: min
   - entity: switch
     name: Humidifier
     icon: "mdi:air-humidifier"