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

Graywind shades: update naming and class

Per review comments
Jason Rumney 2 жил өмнө
parent
commit
22fa09214e

+ 4 - 4
custom_components/tuya_local/devices/graywind_shades.yaml

@@ -1,9 +1,10 @@
-name: Graywind Shades
+name: Window shade
 products:
 products:
   - id: hldq12vsaqalcfer
   - id: hldq12vsaqalcfer
+    name: Graywind hardwired blackout
 primary_entity:
 primary_entity:
   entity: cover
   entity: cover
-  class: curtain
+  class: shade
   dps:
   dps:
     - id: 1
     - id: 1
       name: control
       name: control
@@ -18,13 +19,12 @@ primary_entity:
     - id: 2
     - id: 2
       name: position
       name: position
       type: integer
       type: integer
-      unit: "%"
       range:
       range:
         min: 0
         min: 0
         max: 100
         max: 100
 secondary_entities:
 secondary_entities:
   - entity: select
   - entity: select
-    name: Motor reverse mode
+    name: Motor direction
     category: config
     category: config
     icon: "mdi:sign-direction"
     icon: "mdi:sign-direction"
     dps:
     dps: