Kaynağa Gözat

Update littepets.yaml

cyrano1966 1 yıl önce
ebeveyn
işleme
f42473dadb

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

@@ -42,15 +42,13 @@ secondary_entities:
       - id: 3
       - id: 3
         type: boolean
         type: boolean
         name: switch
         name: switch
-
   - entity: switch
   - entity: switch
     name: "Sleep Mode"
     name: "Sleep Mode"
     icon: "mdi:sleep"
     icon: "mdi:sleep"
     dps:
     dps:
       - id: 10
       - id: 10
         type: boolean
         type: boolean
-        name: switch
-        
+        name: switch       
   - entity: switch
   - entity: switch
     name: Deodorise
     name: Deodorise
     icon: "mdi:spray"
     icon: "mdi:spray"
@@ -58,7 +56,6 @@ secondary_entities:
       - id: 17
       - id: 17
         type: boolean
         type: boolean
         name: switch
         name: switch
-        
   - entity: sensor
   - entity: sensor
     name: Number of times used
     name: Number of times used
     category: diagnostic
     category: diagnostic
@@ -67,7 +64,6 @@ secondary_entities:
         type: integer
         type: integer
         name: sensor
         name: sensor
         unit: times
         unit: times
-        
   - entity: sensor
   - entity: sensor
     name: Last visit duration
     name: Last visit duration
     icon: "mdi:paper-roll"
     icon: "mdi:paper-roll"
@@ -77,7 +73,6 @@ secondary_entities:
         type: integer
         type: integer
         name: sensor
         name: sensor
         unit: seconds
         unit: seconds
-        
   - entity: sensor
   - entity: sensor
     name: Status
     name: Status
     class: enum
     class: enum
@@ -90,7 +85,7 @@ secondary_entities:
           - dps_val: standby
           - dps_val: standby
             value: Standby 
             value: Standby 
             icon: "mdi:timer"
             icon: "mdi:timer"
-          - dps_val: off
+          - dps_val: "off"
             value: PowerOff
             value: PowerOff
             icon: "mdi:power-sleep"
             icon: "mdi:power-sleep"
           - dps_val: waiting_cluster
           - dps_val: waiting_cluster