Prechádzať zdrojové kódy

Graywind shades: update naming and class

Per review comments
Jason Rumney 2 rokov pred
rodič
commit
22fa09214e

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

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