Browse Source

Config tweaks

Adrian Garside 1 year ago
parent
commit
e87d0e1de3
1 changed files with 5 additions and 17 deletions
  1. 5 17
      custom_components/tuya_local/devices/HCT-626_dual_water_timer.yaml

+ 5 - 17
custom_components/tuya_local/devices/HCT-626_dual_water_timer.yaml

@@ -131,7 +131,7 @@ secondary_entities:
     class: battery
     class: battery
     dps:
     dps:
       - id: 53
       - id: 53
-        type: boolean
+        type: integer
         name: sensor
         name: sensor
         readonly: true
         readonly: true
   - entity: sensor
   - entity: sensor
@@ -142,11 +142,8 @@ secondary_entities:
       - id: 101
       - id: 101
         type: integer
         type: integer
         name: sensor
         name: sensor
-        mapping:
-          - scale: 60
-        unit: min
+        unit: s
         readonly: true
         readonly: true
-        precision: 2
   - entity: sensor
   - entity: sensor
     name: Valve 2 last runtime
     name: Valve 2 last runtime
     class: duration
     class: duration
@@ -155,11 +152,8 @@ secondary_entities:
       - id: 102
       - id: 102
         type: integer
         type: integer
         name: sensor
         name: sensor
-        mapping:
-          - scale: 60
-        unit: min
+        unit: s
         readonly: true
         readonly: true
-        precision: 2
   - entity: sensor
   - entity: sensor
     name: Valve 1 spray time
     name: Valve 1 spray time
     category: diagnostic
     category: diagnostic
@@ -168,11 +162,8 @@ secondary_entities:
       - id: 103
       - id: 103
         type: integer
         type: integer
         name: sensor
         name: sensor
-        mapping:
-          - scale: 60
-        unit: min
+        unit: s
         readonly: true
         readonly: true
-        precision: 0
   - entity: sensor
   - entity: sensor
     name: Valve 2 spray time
     name: Valve 2 spray time
     category: diagnostic
     category: diagnostic
@@ -181,11 +172,8 @@ secondary_entities:
       - id: 104
       - id: 104
         type: integer
         type: integer
         name: sensor
         name: sensor
-        mapping:
-          - scale: 60
-        unit: min
+        unit: s
         readonly: true
         readonly: true
-        precision: 0
   - entity: sensor
   - entity: sensor
     name: Valve 1 state
     name: Valve 1 state
     category: diagnostic
     category: diagnostic