Hi all,
I'm learning Node Red for Home Assistant and want to access the value of the on: part of the object in the picture but can't figure it out,
It doesn't seem to be normal message with a msg.payload format ?
Any help much appreciated
Hi all,
I'm learning Node Red for Home Assistant and want to access the value of the on: part of the object in the picture but can't figure it out,
It doesn't seem to be normal message with a msg.payload format ?
Any help much appreciated
Welcome to the forum @DaveK
That is msg.on.
There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path/value for any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

Also I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.
Thanks,
I'll check the links again but in the past using the debug and "copy path" usually works - I copy it and paste into a switch node set to msg.on with outputs testing for true or false and it works but not this time it seems?
Show is how you have configured the switch node, we are not telepathic.