If it is a case of not knowing what part of the msg they exist in, then a debug node will help.
There’s a great page in the docs that will explain how to use the debug panel to find the right path to 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.
https://nodered.org/docs/user-guide/messages
If this is something else HA related, you may have to go the the HA forums for this one (AFAIK, not many of the folk who regularly help out here are HA users or HA experts)