فهرست منبع

Add range to temperature DP

Kevin Ou 1 سال پیش
والد
کامیت
237b1cb733
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      custom_components/tuya_local/devices/amantii-r12ap1-fireplace.yaml

+ 3 - 0
custom_components/tuya_local/devices/amantii-r12ap1-fireplace.yaml

@@ -44,6 +44,9 @@ entities:
         name: temperature
         type: string
         unit: C
+        range:
+          min: 15
+          max: 28
         mapping:
           - dps_val: 15C_59F
             value: 15