OWL Intuition Home Assistant Integration

I’m trying to do set up Node Red Dashboard to control my Owl Heating and single phase Electricity monitor. Not doing too badly atm but struggling with the Boost and Away states as I cannot find where I can read those states from to get the buttons to display correctly. I’ve discovered the Boost command acts like a toggle and if done from the Standby state, will return it to that state. If done from the Comfort state, sending the Comfort command does nothing; the Boost has to be pressed again to get back to Comfort. The logic is quite confusing and without knowing the state precisely, I think it’s impossible to code. ie things can go out of synch if someone uses the main panel as opposed to the Dashboard.
Does anyone know any better?
Here’s what I’ve got so far (it’s still work in progress as I learn Node-Red and Javascript! (along with Arduino speak, Home Assistant and Tasmota)