Fan control
Closed this issue · 2 comments
johnlcoxjr commented
Maybe I missed it, but is there a way to control the fan?
sherif-fanous commented
Here's basically how to do it. I've not included the code to create an ecobee_service instance
You also have to replace <theremostat_identifier> with your actual value
# Instantiate ecobee_service
fan_min_on_time = 15
selection = Selection(
selection_type=SelectionType.REGISTERED.value, selection_match=''
)
settings = Settings(fan_min_on_time=fan_min_on_time)
thermostat = Thermostat(identifier='<theremostat_identifier>', settings=settings)
update_thermostats_response = ecobee_service.update_thermostats(
selection, thermostat
)
johnlcoxjr commented
Thank you!