Просмотр исходного кода

Rename temperature_units to temperature_unit.

To match the climate property, use the singular.
Jason Rumney 4 лет назад
Родитель
Сommit
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: