Преглед изворни кода

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"