ntById("random_min{{sensor.id}}")
            var random_max_control = document.getElementById("random_max{{sensor.id}}")
            var value_control = document.getElementById("value{{sensor.id}}")

            is_random_control.addEventListener("change", function() {
                value_control.disabled = is_random_control.checked
                random_min_control.disabled = !is_random_control.checked
                random_max_control.disabled = !is_random_control.checked
            })

            