James Aichinger 3 lat temu
rodzic
commit
77a266ca7c

+ 2 - 8
custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml

@@ -1,4 +1,4 @@
-name: the Smart Air™ Viral Protect Plus
+name: Breville Smart Air Plus
 products:
 products:
   - id: "emh1sylyfw7n2b50"
   - id: "emh1sylyfw7n2b50"
 primary_entity:
 primary_entity:
@@ -18,16 +18,12 @@ primary_entity:
       mapping:
       mapping:
         - dps_val: "low"
         - dps_val: "low"
           value: 25
           value: 25
-          icon: "mdi:fan-speed-1"
         - dps_val: "mid"
         - dps_val: "mid"
           value: 50
           value: 50
-          icon: "mdi:fan-speed-2"
         - dps_val: "high"
         - dps_val: "high"
           value: 75
           value: 75
-          icon: "mdi:fan-speed-3"
         - dps_val: "tubo" # there's a typo in the firmware
         - dps_val: "tubo" # there's a typo in the firmware
           value: 100
           value: 100
-          icon: "mdi:fan-plus"
 secondary_entities:
 secondary_entities:
   - entity: sensor
   - entity: sensor
     name: PM2.5
     name: PM2.5
@@ -41,7 +37,6 @@ secondary_entities:
         class: measurement
         class: measurement
         mapping:
         mapping:
           - scale: 10
           - scale: 10
-        readonly: true
   - entity: select
   - entity: select
     name: Mode
     name: Mode
     category: config
     category: config
@@ -60,7 +55,7 @@ secondary_entities:
             value: "Sleep"
             value: "Sleep"
             icon: "mdi:power-sleep"
             icon: "mdi:power-sleep"
   - entity: switch
   - entity: switch
-    name: Microbe Shield
+    name: Microbe shield
     category: config
     category: config
     icon: "mdi:shield-bug"
     icon: "mdi:shield-bug"
     dps:
     dps:
@@ -115,5 +110,4 @@ secondary_entities:
       - id: 21
       - id: 21
         type: string
         type: string
         name: sensor
         name: sensor
-        class: measurement
         readonly: true
         readonly: true