Add an option for the counter helper to wrap around

Using the counter helper can allow you to scroll through a series of scenes using only one or two buttons, but sadly it doesn’t have the ability currently to wrap around once you have reached the maximum value.

This means that you manually have to check if you have reached the end in your automation, and then set the counter to the beginning or the end, depending on which direction you are going.

Having the option build in to wrap around automatically would make this a lot easier, as then you don’t have to do this manually in your automation. This also means that you don’t have to store the maximum value in the automation itself.

In case someone else sees this post, I’ve created a pull request to implement this functionality.

Core PR

Front-End PR

Documentation PR