Tataihono Nikora 2 лет назад
Родитель
Сommit
595cb95b40

+ 11 - 11
custom_components/tuya_local/devices/arlec_pa1123bkha_portable_air_conditioner.yaml

@@ -9,10 +9,10 @@ primary_entity:
       name: hvac_mode
       name: hvac_mode
       type: boolean
       type: boolean
       mapping:
       mapping:
-        - dps_val: false
+        - dps_val: False
           value: "off"
           value: "off"
           icon: "mdi:hvac-off"
           icon: "mdi:hvac-off"
-        - dps_val: true
+        - dps_val: True
           constraint: mode
           constraint: mode
           conditions:
           conditions:
             - dps_val: 1
             - dps_val: 1
@@ -36,7 +36,7 @@ primary_entity:
       mapping:
       mapping:
         - constraint: temperature_unit
         - constraint: temperature_unit
           conditions:
           conditions:
-            - dps_val: true
+            - dps_val: True
               value_redirect: temp_set_f
               value_redirect: temp_set_f
               range:
               range:
                 min: 62
                 min: 62
@@ -48,7 +48,7 @@ primary_entity:
       mapping:
       mapping:
         - constraint: temperature_unit
         - constraint: temperature_unit
           conditions:
           conditions:
-            - dps_val: true
+            - dps_val: True
               value_redirect: temp_current_f
               value_redirect: temp_current_f
     - id: 20
     - id: 20
       name: error
       name: error
@@ -64,9 +64,9 @@ primary_entity:
       name: preset_mode
       name: preset_mode
       type: boolean
       type: boolean
       mapping:
       mapping:
-        - dps_val: false
+        - dps_val: False
           value: none
           value: none
-        - dps_val: true
+        - dps_val: True
           value: sleep
           value: sleep
     - id: 104
     - id: 104
       type: string
       type: string
@@ -82,15 +82,15 @@ primary_entity:
       name: swing_mode
       name: swing_mode
       type: boolean
       type: boolean
       mapping:
       mapping:
-        - dps_val: false
+        - dps_val: False
           value: "off"
           value: "off"
-        - dps_val: true
+        - dps_val: True
           value: vertical
           value: vertical
     - id: 109
     - id: 109
       type: boolean
       type: boolean
       name: temperature_unit
       name: temperature_unit
       mapping:
       mapping:
-        - dps_val: true
+        - dps_val: True
           value: F
           value: F
         - value: C
         - value: C
     - id: 110
     - id: 110
@@ -128,7 +128,7 @@ secondary_entities:
         type: boolean
         type: boolean
         name: option
         name: option
         mapping:
         mapping:
-          - dps_val: false
+          - dps_val: False
             value: Celsius
             value: Celsius
-          - dps_val: true
+          - dps_val: True
             value: Fahrenheit
             value: Fahrenheit