瀏覽代碼

Royalclima Fresh: fix mappings

PR #1703
Jason Rumney 1 年之前
父節點
當前提交
9c5183cfe6
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

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

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