James Aichinger 3 лет назад
Родитель
Сommit
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:
   - id: "emh1sylyfw7n2b50"
 primary_entity:
@@ -18,16 +18,12 @@ primary_entity:
       mapping:
         - dps_val: "low"
           value: 25
-          icon: "mdi:fan-speed-1"
         - dps_val: "mid"
           value: 50
-          icon: "mdi:fan-speed-2"
         - dps_val: "high"
           value: 75
-          icon: "mdi:fan-speed-3"
         - dps_val: "tubo" # there's a typo in the firmware
           value: 100
-          icon: "mdi:fan-plus"
 secondary_entities:
   - entity: sensor
     name: PM2.5
@@ -41,7 +37,6 @@ secondary_entities:
         class: measurement
         mapping:
           - scale: 10
-        readonly: true
   - entity: select
     name: Mode
     category: config
@@ -60,7 +55,7 @@ secondary_entities:
             value: "Sleep"
             icon: "mdi:power-sleep"
   - entity: switch
-    name: Microbe Shield
+    name: Microbe shield
     category: config
     icon: "mdi:shield-bug"
     dps:
@@ -115,5 +110,4 @@ secondary_entities:
       - id: 21
         type: string
         name: sensor
-        class: measurement
         readonly: true