瀏覽代碼

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