Procházet zdrojové kódy

Fixed errors in the Air Purifier config

Alexander Balya před 2 roky
rodič
revize
880aa4da08

+ 4 - 7
custom_components/tuya_local/devices/smartmi_e1_purifier.yaml

@@ -1,4 +1,4 @@
-name: Smartmi Air Purifier E1
+name: Air Purifier
 products:
 products:
   - id: pwrmggdhwkz1lnvh
   - id: pwrmggdhwkz1lnvh
     name: Smartmi E1
     name: Smartmi E1
@@ -20,14 +20,11 @@ primary_entity:
       type: string
       type: string
       mapping:
       mapping:
         - dps_val: sleep
         - dps_val: sleep
-          value: Sleep
-          icon: "mdi:sleep"
+          value: sleep
         - dps_val: auto
         - dps_val: auto
-          value: Normal
-          icon: "mdi:air-purifier"
+          value: normal
         - dps_val: manual
         - dps_val: manual
-          value: Strong
-          icon: "mdi:wind-power-outline"
+          value: strong
     - id: 22
     - id: 22
       type: bitfield
       type: bitfield
       name: fault_code
       name: fault_code