소스 검색

Loratap double curtain switch: use class consistent with name

Classes were inconsistent. Noticed in review of derived PR #2958
Jason Rumney 1 년 전
부모
커밋
2ec6e1e561
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      custom_components/tuya_local/devices/loratap_wifi_curtain_switch_double.yaml

+ 2 - 1
custom_components/tuya_local/devices/loratap_wifi_curtain_switch_double.yaml

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