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

Kimex Cinema Screen: rename and fix issues

- rename file to conform with tuya-local naming convention
- fix select entity dp naming
- add missing newline at end of text file

PR #3203
Jason Rumney 10 месяцев назад
Родитель
Сommit
3b5b000996
1 измененных файлов с 6 добавлено и 5 удалено
  1. 6 5
      custom_components/tuya_local/devices/kimex_cinemascreen.yaml

+ 6 - 5
custom_components/tuya_local/devices/KIMEX_tuya_cinema_screen.yaml → custom_components/tuya_local/devices/kimex_cinemascreen.yaml

@@ -1,11 +1,12 @@
-name: KIMEX cimema screen
+name: Cinema screen
 products:
   - id: hpg7erxfe5ypgh20
-    manufacturer: KIMEX
+    manufacturer: Kimex
     model: THM-02
 entities:
   - entity: cover
     class: blind
+    name: Screen
     dps:
       - id: 1
         name: control
@@ -32,10 +33,10 @@ entities:
     category: config
     dps:
       - id: 8
-        name: control_back
+        name: option
         type: string
         mapping:
           - dps_val: forward
-            value: "forward"
+            value: forward
           - dps_val: back
-            value: "reverse"
+            value: reverse