Skip to content

Commit f48af1e

Browse files
committed
Reduce ramp range on frontend, as it's most likely always gonna be below 5deg
1 parent 7a46e43 commit f48af1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/features/sensors/heaters/Heaters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const SetHeaterModal = ({heater: originalHeater, show, onClose, index}) => {
134134
<Form.Group className='mb-3'>
135135
<Form.Label>Ramp Offset</Form.Label>
136136
<Badge className='float-end'><Number value={heater.ramp_offset || 0} unit='°C' /></Badge>
137-
<Form.Range min={0} max={20} step={.1} value={heater.ramp_offset || 0} onChange={updateHeater('ramp_offset', parseFloat)}/>
137+
<Form.Range min={0} max={5} step={.1} value={heater.ramp_offset || 0} onChange={updateHeater('ramp_offset', parseFloat)}/>
138138
<Form.Text>
139139
Set this to a number greater than <code>0</code> to start ramping down the duty proportionally to the difference with the target temperature.
140140
For instance, if set to <code>3°C</code>, with a target temperature of <code>25°C</code>, a current temperature of <code>24°C</code>

0 commit comments

Comments
 (0)