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

Moes double curtain switch: rename file, use consistent classes

- classes were used inconsistently in loratap file this was based on
- renamed file to better follow convention

PR #2958
Jason Rumney 1 год назад
Родитель
Сommit
2f4eae2844
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      custom_components/tuya_local/devices/moes_double_curtainswitch.yaml

+ 2 - 1
custom_components/tuya_local/devices/moes_wifi_rf_curtain_switch_double.yaml → custom_components/tuya_local/devices/moes_double_curtainswitch.yaml

@@ -6,7 +6,7 @@ products:
 entities:
 entities:
   - entity: cover
   - entity: cover
     name: Curtain 1
     name: Curtain 1
-    class: blind
+    class: curtain
     dps:
     dps:
       - id: 1
       - id: 1
         name: control
         name: control
@@ -29,6 +29,7 @@ entities:
         type: integer
         type: integer
   - entity: cover
   - entity: cover
     name: Curtain 2
     name: Curtain 2
+    class: curtain
     dps:
     dps:
       - id: 4
       - id: 4
         name: control
         name: control