Explorar o código

Hysen HY08ACF: add unit to temperatures.

Issue #343
Jason Rumney %!s(int64=3) %!d(string=hai) anos
pai
achega
2ac456ffe9

+ 2 - 0
custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml

@@ -22,6 +22,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 50
         max: 500
@@ -114,6 +115,7 @@ secondary_entities:
       - id: 101
         type: integer
         name: sensor
+        unit: C
         mapping:
           - scale: 10
   - entity: number