self.get_active_mode_id() produces a string, not an integer
Hi,
I was trying to setup an Action Block with a Condition that checks the Active Mode number, and ran in some trouble. The condition asks for an integer, and when you log the Active Mode number it is in fact a number but it turns out that self.get_active_mode_id() produces a string of the number as output. So when filling in the integer in the Condition, the Condition won’t work because an integer is compared to the string from self.get_active_mode_id().
To make it work at the moment, it’s necessary to turn the filled in integer into a string.

In CSS 3.1.1 we have fixed this:
[new] active mode id: returns the internal active_id value (as an int/number not a string)
[changed] active mode number: returns the active mode’s position number in the modes list (counting from zero)
https://remotify.io/css3-changelog/
Sign up
User registration is currently not allowed.