소스 검색

Remove 'class' from temperature calibration entities

Kevin Ou 1 년 전
부모
커밋
3ef62c9fd1
1개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. 4 6
      custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml

+ 4 - 6
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml

@@ -215,7 +215,6 @@ entities:
             icon: "mdi:thermometer"
   - entity: number
     category: config
-    class: temperature
     type: integer
     name: Room temperature calibration
     icon: "mdi:tune-vertical-variant"
@@ -241,12 +240,11 @@ entities:
         type: boolean
         mapping:
           - dps_val: false
-            value: C
+            value: °C
           - dps_val: true
-            value: F
+            value: °F
   - entity: number
     category: config
-    class: temperature
     type: integer
     name: Floor temperature calibration
     icon: "mdi:tune-variant"
@@ -272,9 +270,9 @@ entities:
         type: boolean
         mapping:
           - dps_val: false
-            value: C
+            value: °C
           - dps_val: true
-            value: F
+            value: °F
   - entity: number
     category: config
     name: Heater Wattage