This is another automation example which works with HA >0.113
With that you only need one automation for increasing and decreasing the counter.
Since I don't know if you want to add this to your examples or replace them, I didn't open a PR and post it here instead.
This is another automation example which works with HA >0.113 With that you only need one automation for increasing and decreasing the counter. Since I don't know if you want to add this to your examples or replace them, I didn't open a PR and post it here instead.