Explorar el Código

Linting to pass tests

Tomàs Sanjuán hace 1 año
padre
commit
36ec57519e
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      custom_components/tuya_local/devices/tera_w01_evcharger.yaml

+ 5 - 5
custom_components/tuya_local/devices/tera_w01_evcharger.yaml

@@ -177,7 +177,7 @@ secondary_entities:
     name: Power
     name: Power
     class: power
     class: power
     dps:
     dps:
-      - id: 9 # power_total
+      - id: 9  # power_total
         type: integer
         type: integer
         name: sensor
         name: sensor
         unit: kW
         unit: kW
@@ -196,7 +196,7 @@ secondary_entities:
           - dps_val: 0
           - dps_val: 0
             value: false
             value: false
           - value: true
           - value: true
-      - id: 10 # fault
+      - id: 10  # fault
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
   - entity: sensor
   - entity: sensor
@@ -227,7 +227,7 @@ secondary_entities:
     category: config
     category: config
     icon: "mdi:ev-station"
     icon: "mdi:ev-station"
     dps:
     dps:
-      - id: 14 # work_mode
+      - id: 14  # work_mode
         type: string
         type: string
         name: option
         name: option
         mapping:
         mapping:
@@ -251,7 +251,7 @@ secondary_entities:
     name: Temperature
     name: Temperature
     class: temperature
     class: temperature
     dps:
     dps:
-      - id: 24 # temp_current
+      - id: 24  # temp_current
         type: integer
         type: integer
         name: sensor
         name: sensor
         unit: C
         unit: C
@@ -267,4 +267,4 @@ secondary_entities:
         unit: h
         unit: h
         range:
         range:
           min: 0
           min: 0
-          max: 12
+          max: 12