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

Loratap zigbee curtain: make compatible with WiFi device

Issue #2077 defines a similar device, but without the light_mode, which
was marked hidden even though it was not used anywhere (unhid and made
optional instead).
Jason Rumney 1 год назад
Родитель
Сommit
7c72ac04c6
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      custom_components/tuya_local/devices/loratap_zigbee_curtain.yaml

+ 5 - 3
custom_components/tuya_local/devices/loratap_zigbee_curtain.yaml

@@ -1,7 +1,9 @@
-name: ZigBee Curtain
+name: Curtain
 products:
   - id: 8kzqqzu4
-    name: SC500ZB-V2
+    name: Loratap SC500ZB-V2
+  - id: v7ooovn9oamttmre
+    name: Loratap WiFi curtain
 primary_entity:
   entity: cover
   class: shutter
@@ -28,7 +30,7 @@ primary_entity:
     - id: 14
       name: light_mode
       type: string
-      hidden: true
+      optional: true
 secondary_entities:
   - entity: switch
     category: config