By default, global variables are not supported in Home Assistant. It’s often mentioned that you can use helpers instead.
But if you need a variable in which to store a number, the number helper asks for a minimum, maximum, and step size. This can be a problem.
The minimum and maximum does not always serve a purpose, neither does step size. Unfortunately, the fields are mandatory. Filling out a maximum number of 999999 isn’t a very elegant solution. But it’s necessary to prevent errors when a service tries to set it to a number higher than its maximum:
I am usually not planning to modify the number helper from the dashboard, but occasionally I might. But this also results in an error.
Proposed solution: Also make it possible to create number helpers without minimum, maximum, or step size limitations. Make these fields optional.