I have my Ecobee 3 integrated with HA and would like to use HA to have the furnace fan turn on every hour for 15 minutes between the hours of 3 pm to 11pm. I found the service climate.set_fan_mode can be set to on or auto so I set up a test pair of automations to turn the fan on at 16:00 and back to auto at 16:15.
Is there a way to set it up so that one automation to run every hour for 15 minutes from 15:00 to 23:00?
alias: Ecobee Fan On
description: ''
trigger:
- platform: time
at: '16:00:00'
condition: []
action:
- service: climate.set_fan_mode
target:
device_id: 50e42d24dd076c13aa4b3cf10887db27
data:
fan_mode: 'on'
mode: single
Your quotes are wrong. Either double quotes inside and single quotes ourside the template or vice versa. You are using two single quotes inside the template.
fan_mode: "{{ 'on' if trigger.now.minute == 0 else 'auto' }}"
mode: single