Raspberrymatic virtual buttons and functions

Dear Home Assistant community,

I am a long time RaspberryMatic user and last year a friend introduced me to Home Assistant.
Since then I’ve been using and loving the UI of HA. RaspberryMatic now runs as a HA add-on.
However I have run into a problem that seems similar to this one here.

Back when I was only using RaspberryMatic I wanted to have an indicator showing me if any of the thermostats are set to heat (i.e. target temp > 17°C) and I also wanted a button which when pressed would turn off all thermostats (i.e. set their mode to manual and their target temp to 4.5°C)

So I did the following: in RaspberryMatic I set up these two programs:

  • A system variable telling me if any of my thermostats is set above 17°C
  • A button to turn all thermostats off

And it worked as expected in Raspberrymatic.

After moving to Home Assistant, I wanted to continue using the indicator and the button, so I enabled them and added them to my Overview page, but the button remains greyed out and the indicator, seems slow to react, sometimes it doesn’t react at all.

What am I missing?

-Andrei