Automations to turn HVAC Blower Fan

I have looked through here and I do not seem to find the answer, along with the help section so I am asking.

I would like to set my blower fan on my HVAC system (controlled by Ecobee) to set the blower fan to “On” from “Auto” and then back, again when the trigger is no longer.

I see the Climate.set_fan_mode and I think it will work but it is asking me to add a string value. When I see my thermostat in the devices, Fan Mode has an option of “Auto” or “On”.

I tried creating that call service action and tested it to turn the fan mode to “On” but it still sits at “Auto”.

If you don’t change the hvac_mode, your thermostat might be working against you.

This is what I use:

  - service: climate.set_hvac_mode
    data:
      hvac_mode: "off"
    target:
      entity_id: climate.thermostat
  - delay: "00:10:00"
  - service: climate.set_fan_mode
    data:
      fan_mode: "on"
    target:
      entity_id: climate.thermostat

The delay is to allow some time for condensation to drip off the coils so we don’t re-humidify the air we just dehumidified during cooling seasons. If you aren’t using it like that, you can get rid of the delay.

I do this for my movie room, setting the fan to ON when in use (based on receiver status) and then back to AUTO when off

Script to set to ON:

  - service: climate.set_fan_mode
    data:
      entity_id: climate.6900_kitchen
      fan_mode: 'on'

Script to Resume:

  - service: climate.set_fan_mode
    data:
      entity_id: climate.6900_kitchen
      fan_mode: auto