Switch Nodes,, MQTT and Strings


I have an MQTT message coming in that contains temperature information - this is being sent across from Home Assistant to me.

It is showing in the debug window as a String of 4 characters (e.g. 23.4) and hence does not appear to get processed by my switch node which is looking to make decisions based on numbers - is it as easy as telling the switch node to treat it as a string (and will this produce the same results when doing comparisons such as > or < etc ?)


changing the incoming MQTT node to treat it as an Object instead of an auto sensed string etc did the trick

Now the payload has a number in it not a string