Procházet zdrojové kódy

Royalclima Fresh: fix mappings

PR #1703
Jason Rumney před 1 rokem
rodič
revize
9c5183cfe6

+ 4 - 4
custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

@@ -287,7 +287,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          mask: "0001"
+          - mask: "0001"
   - entity: switch
     translation_key: anti_frost
     category: config
@@ -296,7 +296,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          mask: "1000"
+          - mask: "1000"
   - entity: switch
     name: Anti-mildew
     category: config
@@ -306,7 +306,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          mask: "0100"
+          - mask: "0100"
   - entity: switch
     name: Soft wind
     category: config
@@ -316,7 +316,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          mask: "8000"
+          - mask: "8000"
   - entity: binary_sensor
     class: problem
     category: diagnostic