Rodney Nissen пре 2 година
родитељ
комит
dbaad8e2c6
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      custom_components/tuya_local/devices/leos_loo_too.yaml

+ 5 - 2
custom_components/tuya_local/devices/leos_loo_too.yaml

@@ -9,6 +9,7 @@ primary_entity:
     - id: 2
     - id: 2
       type: string
       type: string
       name: work_mode
       name: work_mode
+      category: config
       mapping:
       mapping:
         - dps_val: auto_clean
         - dps_val: auto_clean
           value: Auto Clean
           value: Auto Clean
@@ -17,6 +18,7 @@ primary_entity:
 secondary_entities:
 secondary_entities:
   - entity: switch
   - entity: switch
     name: Power
     name: Power
+    category: config
     dps:
     dps:
       - id: 1
       - id: 1
         name: switch
         name: switch
@@ -36,25 +38,26 @@ secondary_entities:
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
     name: Last Weight
     name: Last Weight
+    icon: "mdi:scale"
     class: weight
     class: weight
     dps:
     dps:
       - id: 6
       - id: 6
         type: integer
         type: integer
         name: cat_weight
         name: cat_weight
         unit: kg
         unit: kg
-        class: measurement
         mapping:
         mapping:
           - scale: 0.1
           - scale: 0.1
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
     name: Time Used (Today)
     name: Time Used (Today)
+    icon: "mdi:counter"
     dps:
     dps:
       - id: 7
       - id: 7
         type: integer
         type: integer
         name: excretion_times_day
         name: excretion_times_day
-        class: measurement
   - entity: button
   - entity: button
     category: config
     category: config
+    icon: "mdi:heat-pump-outline"
     name: Manual Clean
     name: Manual Clean
     dps:
     dps:
       - id: 9
       - id: 9