Преглед на файлове

fix (komeco_qc60_heatpump): fix lint error and test failure

- remove trailing whitespace
- remove misplaced step
- add unit for temperature

PR #3618
Jason Rumney преди 8 месеца
родител
ревизия
f9b42c4c58
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      custom_components/tuya_local/devices/komeco_qc60_heatpump.yaml

+ 2 - 2
custom_components/tuya_local/devices/komeco_qc60_heatpump.yaml

@@ -27,12 +27,12 @@ entities:
       - id: 2
         type: integer
         name: temperature
+        unit: C
         range:
           min: 7
           max: 40
-        step: 1
       - id: 3
-        type: integer  
+        type: integer
         name: current_temperature
       - id: 4
         type: string