Pārlūkot izejas kodu

fix missed config for royalclima_fresh_climate (Adaptive display brightness, evaporator_cleaning)

almirus 1 gadu atpakaļ
vecāks
revīzija
cb18f9d15d

+ 19 - 0
custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

@@ -257,6 +257,16 @@ secondary_entities:
         name: switch
         mapping:
           - mask: "0008"
+  - entity: switch
+    name: Adaptive display brightness
+    category: config
+    icon: "mdi:brightness-auto"
+    dps:
+      - id: 123
+        type: hex
+        name: switch
+        mapping:
+          - mask: "0080"
   - entity: switch
     name: Beep
     category: config
@@ -276,6 +286,15 @@ secondary_entities:
         name: switch
         mapping:
           - mask: "0020"
+  - entity: switch
+    translation_key: evaporator_cleaning
+    category: config
+    dps:
+      - id: 123
+        type: hex
+        name: switch
+        mapping:
+          - mask: "0004"
   - entity: switch
     name: Eco mode
     category: config

+ 3 - 0
custom_components/tuya_local/translations/en.json

@@ -283,6 +283,9 @@
             },
             "uv_sterilization": {
                 "name": "UV sterilization"
+            },
+            "evaporator_cleaning": {
+                "name": "Evaporator cleaning"
             }
         }
     }

+ 3 - 0
custom_components/tuya_local/translations/ru.json

@@ -283,6 +283,9 @@
             },
             "uv_sterilization": {
                 "name": "УФ-стерилизация"
+            },
+            "evaporator_cleaning": {
+                "name": "Очистка испарителя"
             }
         }
     }