소스 검색

Rename temperature_units to temperature_unit.

To match the climate property, use the singular.
Jason Rumney 5 년 전
부모
커밋
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: