Browse Source

Add range to temperature DP

Kevin Ou 1 year ago
parent
commit
237b1cb733

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

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