Introducing the indicator dashboard block, Losant API workflow node, and workflow-to-workflow triggers


Some awesome new features released today! Details on the blog:


I’m having an issue with the Indicator block. I have a value, which is a number. I have 2 conditions:

{{value}} == 1
{{value}} == 0

The value = 1 condition works and shows the correct text.
The value = 0 condition does not work and shows the Default Condition text.

What am I doing wrong?


Edit: It appears that my {{value}} is undefined when it goes into the default condition block. I’m using a Number Gauge with the same data and it shows a 0. Not sure what’s going on.


I haven’t looked at your workflow but this sounds like a classic JavaScript “falsy” trap.

Try switching the “==” in each expression to “===” and see if that resolves the issue.

More info on falsy values:


Just tried that and unfortunately I’m seeing the same issue.


Turns out it was indeed a falsy issue … of my own doing. :slight_smile:

We just deployed a fix for your case. Please let me know if it’s resolved.


Easy enough. It’s working great for me now. Cool feature. Thanks for the fix. :+1: