Ver Fonte

fix (komeco_qc60_heatpump): fix lint error and test failure

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

PR #3618
Jason Rumney há 6 meses atrás
pai
commit
f9b42c4c58

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

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