If thermostat is off, then background should follow selected style, rather than tinting it with an “off” color. Only change the background if heat or cool is selected…not if thermostat is off.
Alternately, add a parameter that selects between background or content color to be changed based on heating or cooling.