I have two flows. If you change the thermostat to heat_cool mode, it turns on the hvac schedule boolean in homeassistant.
If you turn on the hvac schedule boolean in homeassistant, it changes the thermostat to heat_cool mode.
What is the best way so they don't trigger each other?