Yes, exactly. I know I was bugging you about this one before but I thought maybe others would find this interesting. Yes to the scene trigger option too.
So, ideally we have an easier way to update these variables too in the api. Maybe instead of the unique identifier huge number that's very difficult to find for these we just update the variable by the friendly name. Ie.
http://localhost:1178/updatevariable?name=nameofvariable&value=whatever&password=whatever
Value could be a sentence, number, decimal, whatever...
So the idea is that you have a Virtual device that can hold any value, and not just 0 to 100?
On your "related feature" - would this IF variable be a scene trigger?