Преглед изворни кода

Rename temperature_units to temperature_unit.

To match the climate property, use the singular.
Jason Rumney пре 4 година
родитељ
комит
579a79528d
1 измењених фајлова са 2 додато и 2 уклоњено
  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: