callumhume 6 месяцев назад
Родитель
Сommit
53ecc2d5e5

+ 24 - 26
custom_components/tuya_local/devices/meegeem_selfcleaningcatlitterbox.yaml

@@ -2,12 +2,6 @@ name: Cat Litter Box
 products:
   - id: e2uhpgprwtq40un2
     manufacturer: MEEGEEM
-# Other brands available at the time of purchase - all appear to be clones.  Can this be a list?  Generic?
-# August 2025 list of brands:
-# BCHARYA
-# LubadiPaw
-# Previous brands:
-# MEEGEEM
 entities:
   - entity: sensor
     name: Action
@@ -35,40 +29,40 @@ entities:
           - dps_val: 7
             value: Resetting Paused
 
-# Probably shouldn't be shown.  Option in Smart Life app but just spins the
-# litter chamber around all the way, dumping all litter (clean litter too!)
   - entity: button
+    # Probably shouldn't be shown.  Option in Smart Life app but just spins the
+    # litter chamber around all the way, dumping all litter (clean litter too!)
     name: Empty
     icon: "mdi:delete-empty-outline"
     hidden: true
     dps:
-    - id: "1"
-      type: boolean
-      name: button
+      - id: "1"
+        type: boolean
+        name: button
 
   - entity: button
     name: Clean
     icon: "mdi:delete-empty"
     dps:
-    - id: "3"
-      type: boolean
-      name: button
+      - id: "3"
+        type: boolean
+        name: button
 
   - entity: button
     name: Reset
     icon: "mdi:refresh"
     dps:
-    - id: "4"
-      type: boolean
-      name: button
+      - id: "4"
+        type: boolean
+        name: button
 
   - entity: button
     name: Deodorize
     icon: "mdi:scent"
     dps:
-    - id: "9"
-      type: boolean
-      name: button
+      - id: "9"
+        type: boolean
+        name: button
 
   - entity: sensor
     name: Weight
@@ -157,7 +151,8 @@ entities:
             value: Deodorizing Complete
 
   - entity: number
-    name: Auto-Clean Delay # How long after cat leaves to start cleaning
+    # How long after cat leaves to start cleaning
+    name: Auto-Clean Delay
     icon: "mdi:clock"
     dps:
       - id: 101
@@ -169,7 +164,8 @@ entities:
           max: 20
 
   - entity: switch
-    name: Auto-Clean # Whether to clean after cat leaves
+    # Whether to clean after cat leaves
+    name: Auto-Clean
     icon: "mdi:delete-empty"
     dps:
       - id: 102
@@ -177,7 +173,8 @@ entities:
         type: boolean
 
   - entity: switch
-    name: Auto-Deodorize # Whether to run "ozone generator" in waste bin after cleaning is complete
+    # Whether to run "ozone generator" in waste bin after cleaning is complete
+    name: Auto-Deodorize
     icon: "mdi:scent"
     dps:
       - id: 103
@@ -185,6 +182,7 @@ entities:
         type: boolean
 
   - entity: sensor
+    # Threshold unknown.  Based on litter weight?
     name: Litter Status
     icon: "mdi:toilet"
     class: enum
@@ -197,9 +195,9 @@ entities:
             value: Needs Attention
           - dps_val: 1
             value: Acceptable
-# Threshold unknown.  Based on litter weight?
 
   - entity: sensor
+    # 0-3 in steps of 1, not shown in Smart Life app, unknown function
     name: Operating Mode
     icon: "mdi:shimmer"
     hidden: true
@@ -207,9 +205,10 @@ entities:
       - id: 105
         type: integer
         name: sensor
-# 0-3 in steps of 1, not shown in Smart Life app, unknown function
 
   - entity: sensor
+    # Threshold unknown.  Can be triggered by waste bag improperly installed.
+    # Suspect a light gate across top of bin.  Not weight based.
     name: Waste Bin Status
     icon: "mdi:delete"
     class: enum
@@ -222,4 +221,3 @@ entities:
             value: Needs Attention
           - dps_val: 1
             value: Acceptable
-# Threshold unknown.  Can be triggered by waste bag improperly installed.  Suspect a light gate across top of bin.  Not weight based.