Преглед изворни кода

Mustool MT15/29: don't tag air sensors as diagnostic

Since the device's primary purpose is to measure air quality, anything
related to that should not be diagnostic.

Comment on #3054
Jason Rumney пре 9 месеци
родитељ
комит
8b0a58cb98
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      custom_components/tuya_local/devices/mustool_mt15mt29_airbox.yaml

+ 0 - 3
custom_components/tuya_local/devices/mustool_mt15mt29_airbox.yaml

@@ -111,7 +111,6 @@ entities:
             value: mute
             value: mute
   - entity: sensor
   - entity: sensor
     class: volatile_organic_compounds
     class: volatile_organic_compounds
-    category: diagnostic
     dps:
     dps:
       - id: 101
       - id: 101
         type: integer
         type: integer
@@ -121,7 +120,6 @@ entities:
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
     class: carbon_monoxide
     class: carbon_monoxide
-    category: diagnostic
     dps:
     dps:
       - id: 102
       - id: 102
         type: integer
         type: integer
@@ -187,7 +185,6 @@ entities:
         name: switch
         name: switch
   - entity: sensor
   - entity: sensor
     name: PM 0.3
     name: PM 0.3
-    category: diagnostic
     dps:
     dps:
       - id: 107
       - id: 107
         type: integer
         type: integer