if "max" in data and float(data["input"]) > float(data["max"]):
                return ["warning", widget_type]