Browse Source

Update littepets.yaml

cyrano1966 1 year ago
parent
commit
65b12dbc46
1 changed files with 2 additions and 1 deletions
  1. 2 1
      custom_components/tuya_local/devices/littepets.yaml

+ 2 - 1
custom_components/tuya_local/devices/littepets.yaml

@@ -66,13 +66,14 @@ secondary_entities:
         unit: times
         unit: times
   - entity: sensor
   - entity: sensor
     name: Last visit duration
     name: Last visit duration
+    class: duration
     icon: "mdi:paper-roll"
     icon: "mdi:paper-roll"
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 8
       - id: 8
         type: integer
         type: integer
         name: sensor
         name: sensor
-        unit: seconds
+        unit: s
   - entity: sensor
   - entity: sensor
     name: Status
     name: Status
     class: enum
     class: enum