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

fix(efr_pro_fireplace): add effect for accessing Cycle mode

Issue #5921
Jason Rumney 6 дней назад
Родитель
Сommit
39715e3e85
1 измененных файлов с 20 добавлено и 0 удалено
  1. 20 0
      custom_components/tuya_local/devices/efr_pro_fireplace.yaml

+ 20 - 0
custom_components/tuya_local/devices/efr_pro_fireplace.yaml

@@ -86,6 +86,16 @@ entities:
             value: lightgray
           - dps_val: F14
             value: white
+      - id: 5
+        type: string
+        name: effect
+        mapping:
+          - dps_val: F14
+            value: Cycle
+          - dps_val: F01
+            value: "off"
+          - value: "off"
+            hidden: true
   - entity: light
     translation_key: embers
     category: config
@@ -125,6 +135,16 @@ entities:
             value: lightgray
           - dps_val: C14
             value: white
+      - id: 101
+        type: string
+        name: effect
+        mapping:
+          - dps_val: C14
+            value: Cycle
+          - dps_val: C01
+            value: "off"
+          - value: "off"
+            hidden: true
   - entity: select
     translation_key: temperature_unit
     category: config