Просмотр исходного кода

Graywind shades: update naming and class

Per review comments
Jason Rumney 2 лет назад
Родитель
Сommit
22fa09214e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      custom_components/tuya_local/devices/graywind_shades.yaml

+ 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: