Преглед изворни кода

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