소스 검색

fix extra keys not allowed

Privatecoder 1 년 전
부모
커밋
d5c30af517
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      custom_components/tuya_local/devices/essentials_smart_electric_heater.yaml

+ 3 - 2
custom_components/tuya_local/devices/essentials_smart_electric_heater.yaml

@@ -59,8 +59,9 @@ entities:
         range:
           min: -5
           max: 5
-        scale: 0
-        step: 1
+        mapping:
+          - scale: 0
+            step: 1
   - entity: lock
     translation_key: child_lock
     category: config