Scenes: test value of a device "integer counter"

Hello,

To handle a specific case (daytime or nighttime), I created a fake device with an « Integer counter » feature. This feature is configured with min value = 0 and max = 1.

The scene that sets the device’s value works very well (it goes to 0 when it should and goes to 1 when it should). However, I have another scene with a step that only continues if the device value = 1 (and another when it equals 0), but that scene does not work.

I have the impression that it’s a bug but I wanted confirmation; if so, I will create a ticket on GitHub.

Note: I ran the same test with a feature of type « unknown », the result is the same.

Thank you for your help.

Try setting a switch instead of a counter to see

And in the other scene you check the state of the switch