David Jiménez 1 год назад
Родитель
Сommit
3698093322
1 измененных файлов с 12 добавлено и 16 удалено
  1. 12 16
      custom_components/tuya_local/devices/petsnowy_snowplus_catlitter.yaml

+ 12 - 16
custom_components/tuya_local/devices/petsnowy_snowplus_catlitter.yaml

@@ -55,9 +55,10 @@ entities:
       - id: 106
         type: string
         optional: true
-        name: sleep_time
+        name: sensor
   - entity: light
-    translation_key: backlight
+    name: Backlight
+    icon: "mdi:lightbulb"
     category: config
     dps:
       - id: 16
@@ -71,19 +72,13 @@ entities:
         type: boolean
         name: button
   - entity: event
-    name: Notification
+    name: Notifications
+    class: enum
     category: diagnostic
     icon: "mdi:eye-circle-outline"
     dps:
       - id: 21
-        type: bitfield
         name: event
-        mapping:
-          - dps_val: 0
-            value: null
-          - value: notify
-      - id: 21
-        name: message
         type: bitfield
         mapping:
           - dps_val: 1
@@ -180,8 +175,13 @@ entities:
         name: sensor
         type: integer
         unit: day
+        range:
+          min: 0
+          max: 60
   - entity: lock
     translation_key: child_lock
+    name: Child lock
+    icon: "mdi:lock-question"
     category: config
     dps:
       - id: 104
@@ -193,17 +193,13 @@ entities:
           - dps_val: true
             value: false
   - entity: switch
-    name: Auto deodorize
+    name: Automatic deodorization
     icon: "mdi:scent"
     category: config
     dps:
       - id: 107
         type: boolean
         name: switch
-      - id: 108
-        type: string
-        optional: true
-        name: schedule
   - entity: button
     name: Change cat litter
     icon: "mdi:delete-empty"
@@ -212,7 +208,7 @@ entities:
         type: boolean
         name: button
   - entity: button
-    name: Ball reset
+    name: Calibrate ball
     icon: "mdi:scale-balance"
     dps:
       - id: 112