[solved] MQTT: Switch json boolean true/false mapping not working - how to debug?

Right, because

is not the same as

The second is comparing against the String "true" which is how the MQTT binding handles incoming messages.

I do this as it’s faster. It’s definitely a pain that this is still an issue!!