Hi, I apologize if this has been asked before already I tried looking around and a lot of the stuff was similar but not exactly getting me where i needed.
Anyways I was wondering if there is an easy way to pass global data around when using device commands
Im using the CPF template and it uses globals to get the webpage icon and title, which works fine if endpoint call goes to edge point response
but if you call a device state and use mqtt to get a response back you lose the globals (since you cant send the whole payload as an option like in endpoint responses) as can be seen when trying to render this webpage
and a janky solution seemed to be to pass the globals along in the payload, but then when it gets around to rendering the page the globals are in the payload, which makes sene duh, but im not sure what to do to pass the globals around then.
I know there is a globals tab, which might be useful? but the globals im seeing arent in there, so it seems they are auto generated?