Просмотр исходного кода

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 лет назад
Родитель
Сommit
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