Browse Source

Holman WX8: lint fixes

Remove trailing space and reduce long comments.
Jason Rumney 2 years ago
parent
commit
dc040ea8be

+ 7 - 7
custom_components/tuya_local/devices/holman_wx8_irrigation_controller.yaml

@@ -39,7 +39,7 @@ secondary_entities:
     dps:
     dps:
       - id: 104
       - id: 104
         type: boolean
         type: boolean
-        name: switch  
+        name: switch
   - entity: switch
   - entity: switch
     name: Zone 4
     name: Zone 4
     icon: mdi:sprinkler-variant
     icon: mdi:sprinkler-variant
@@ -53,14 +53,14 @@ secondary_entities:
     dps:
     dps:
       - id: 106
       - id: 106
         type: boolean
         type: boolean
-        name: switch         
+        name: switch
   - entity: switch
   - entity: switch
     name: Zone 6
     name: Zone 6
     icon: mdi:sprinkler-variant
     icon: mdi:sprinkler-variant
     dps:
     dps:
       - id: 107
       - id: 107
         type: boolean
         type: boolean
-        name: switch       
+        name: switch
   - entity: switch
   - entity: switch
     name: Zone 7
     name: Zone 7
     icon: mdi:sprinkler-variant
     icon: mdi:sprinkler-variant
@@ -76,7 +76,7 @@ secondary_entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: switch
   - entity: switch
-    name: Program A  # This is actually prgram A but Stat is the vendor terminology, stays on while programming is running can be stoped mid way.
+    name: Program A
     icon: mdi:timetable
     icon: mdi:timetable
     dps:
     dps:
       - id: 113
       - id: 113
@@ -95,7 +95,7 @@ secondary_entities:
     dps:
     dps:
       - id: 115
       - id: 115
         type: boolean
         type: boolean
-        name: switch 
+        name: switch
   - entity: sensor
   - entity: sensor
     class: voltage
     class: voltage
     name: Power supply voltage
     name: Power supply voltage
@@ -108,7 +108,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
       - id: 119
       - id: 119
-        name: catchup_voltage  # not sure what this is exactly, and it does not show in the manual, so made an attribute
+        name: catchup_voltage  # not sure what this is, so made an attribute
         type: integer
         type: integer
         mapping:
         mapping:
           - scale: 10
           - scale: 10
@@ -175,7 +175,7 @@ secondary_entities:
     class: battery
     class: battery
     dps:
     dps:
       - id: 120
       - id: 120
-        name: sensor 
+        name: sensor
         type: base64
         type: base64
         mapping:
         mapping:
           - mask: "000000F0"
           - mask: "000000F0"