소스 검색

Corrections to pass lint checks

pacorola 1 년 전
부모
커밋
1fbfa5c156
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      custom_components/tuya_local/devices/KIMEX_tuya_cinema_screen.yaml

+ 10 - 2
custom_components/tuya_local/devices/KIMEX_tuya_cinema_screen.yaml

@@ -27,7 +27,15 @@ entities:
             value: stop
           - dps_val: close
             value: closed
+  - entity: select
+    icon: "mdi:arrow-u-left-bottom"
+    category: config
+    dps:
       - id: 8
-        name: control_back_mode
+        name: control_back
         type: string
-        category: config
+        mapping:
+          - dps_val: forward
+            value: "forward"
+          - dps_val: back
+            value: "reverse"