Values of a "Continue only if"

Hello,

there is an issue with the continue only if block:

I want to tell it if the value is left arrow or right arrow…
image

How can I find out the numeric equivalents of these text values?

The values really should be adapted to the device type…

Thanks

EDIT: I think it’s 12 and 13 according to a search on GitHub for ARROW_LEFT_CLICK

It’s true that the « continue only if » should display the « textual » values directly.

Yes I agree!

After asking Claude:

I still need to test with MQTT devices

Hi @Hizo!

In Continue only if, a device with named values displays these labels: left arrow, right arrow, click, open, mode… You no longer need to look for the numerical equivalent in the code.

This has been in place since Gladys 4.84.4, and these lists have been generalized in 4.86. You choose the value in the block, just like on the device page.

I’m moving this topic to « Delivered requests ». If there’s still a case that doesn’t match, open a new topic: it’ll be easier to follow.