瀏覽代碼

line up with offical tuya integration to make filter_life a diagnostic property

latel 2 年之前
父節點
當前提交
121e8feb65
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/soleusair_air_purifier.yaml

+ 1 - 0
custom_components/tuya_local/devices/soleusair_air_purifier.yaml

@@ -25,6 +25,7 @@ secondary_entities:
   - entity: sensor
     name: filter_life
     class: duration
+    category: diagnostic
     dps:
       - id: 5
         type: integer