v0.13.4
This commit is contained in:
@@ -126,6 +126,10 @@ function validateForm(form) {
|
||||
else if (!httpUrlValid(url.value)) { showFieldError(url, tr('validation.url')); valid = false; }
|
||||
}
|
||||
|
||||
if (form.id === 'temporaryThermostatForm') {
|
||||
if (!validateDecimalField(form, 'target_temperature', 8, 30)) valid = false;
|
||||
}
|
||||
|
||||
if (form.id === 'zoneForm') {
|
||||
const source = form.elements.sensor_source?.value;
|
||||
const entity = form.elements.ha_entity_id;
|
||||
|
||||
Reference in New Issue
Block a user