Show/hide thermostat buttons from automation/script,... etc

Hello!

I need to show/hide thermostat buttons regarding to the year’s season. This is because I have an AC split system (3 indoor units, 1 outdoor) and if a customer sets the AC to heat and one to cooling, the the AC stops.

One way to avoid this is to display the right HVAC button on the thermostat (cool for summer, heat for winter). This is already possible by clicking on the GUI, but since I already have mechanisms to know the season, I would like to automatically adapt the thermostat.

Is this possible programmatically?

You can configure two cards, and use the visibility options to show only the one you need for that season.

for controlling the visibility you could define a binary sensor to turn on and off based on the season. If you’d rather use an automation to switch, you can define an input helper switch and turn that on or off depending on the season.

For safety measures you could also create an automation to automatically turn off the forbidden action if you see it turn on in the wrong season.

I am currently using two thermostats (one hidden, one visible), but I’m trying to simplify the HA GUI. I have 20 rooms each one with it’s own view and any change becomes a marathon :smiley: