فهرست منبع

Electriq CD12Pro: fix class usage

class does not apply to dps on main entity, remove it.
Apply problem class to tank binary sensor.
Jason Rumney 3 سال پیش
والد
کامیت
89f93ad941
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml

+ 1 - 1
custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml

@@ -16,7 +16,6 @@ primary_entity:
     - id: 2
     - id: 2
       type: integer
       type: integer
       name: humidity
       name: humidity
-      class: humidity
       range:
       range:
         min: 35
         min: 35
         max: 80
         max: 80
@@ -131,6 +130,7 @@ secondary_entities:
             icon: "mdi:sleep-off"
             icon: "mdi:sleep-off"
   - entity: binary_sensor
   - entity: binary_sensor
     name: Tank
     name: Tank
+    class: problem
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 19
       - id: 19