Explorar el Código

Rename temperature_units to temperature_unit.

To match the climate property, use the singular.
Jason Rumney hace 4 años
padre
commit
579a79528d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      custom_components/tuya_local/devices/gardenpac_heatpump.yaml

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

@@ -21,7 +21,7 @@ primary_entity:
       type: integer
       readonly: true
     - id: 103
-      name: temperature_units
+      name: temperature_unit
       type: boolean
       mapping:
         - dps_val: false
@@ -40,7 +40,7 @@ primary_entity:
       name: temperature
       type: integer
       mapping:
-        constraint: temperature_units
+        constraint: temperature_unit
         conditions:
           - dps_val: false
             range: