I'm using node-red and wanting to do a switch like behavior with the trigger state node in order to set an RGB light to different colors depending on the entity state value which is numeric.
So basically:
- 100 < state < 200 then Green
- 200 <= state < 1000 then Red
Is it possible to get this into two custom outputs with the trigger state node, I assume I would need some JSONata to get there since the condition constraints in the node dialog don't offer "is between" the same way as the default switch node.