瀏覽代碼

JJPro: remove hidden attributes whose icons never take effect.

As these icons do not have priority, they are lower priority than the others.
Since they have separate entities for their switches, they shouldn't really
affect the main entity icon anyway.
Jason Rumney 4 年之前
父節點
當前提交
a27cb0c691
共有 1 個文件被更改,包括 0 次插入14 次删除
  1. 0 14
      custom_components/tuya_local/devices/jjpro_jpd01_dehumidifier.yaml

+ 0 - 14
custom_components/tuya_local/devices/jjpro_jpd01_dehumidifier.yaml

@@ -43,13 +43,6 @@ primary_entity:
         max: 80
       mapping:
         - step: 5
-    - id: 5
-      type: boolean
-      name: anion
-      hidden: true
-      mapping:
-        - dps_val: true
-          icon: "mdi:leaf"
     - id: 11
       type: bitfield
       name: error
@@ -65,13 +58,6 @@ primary_entity:
       type: boolean
       name: unknown_101
       readonly: true
-    - id: 102
-      type: boolean
-      name: sleep
-      hidden: true
-      mapping:
-        - dps_val: true
-          icon: "mdi:weather-night"
     - id: 105
       type: boolean
       name: defrosting