Bläddra i källkod

Add range to temperature DP

Kevin Ou 1 år sedan
förälder
incheckning
237b1cb733
1 ändrade filer med 3 tillägg och 0 borttagningar
  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