cancel
Showing results for 
Search instead for 
Did you mean: 

Script Help for automatically turning on/off fan with thermostat state.

Jmahoneyy
Community Member

1. I want an overhead smart fan to turn on when my thermostat turns on the furnace.

2. I want an overhead smart fan to turn off when my thermostat turns off the furnace.

 

I got #1 to work using this script:

 

 

starters:
- type: device.state.TemperatureSetting 
state: activeThermostatMode
is: heat
device: Main Level - 1 Family Room


actions:
- type: device.command.OnOff 
on: true
devices: Fan - 1 Family Room

 

 

I am having trouble with #2

 

 

starters:
- type: device.state.TemperatureSetting 
state: activeThermostatMode
is: on
device: Main Level - 1 Family Room

actions:
- type: device.command.OnOff 
on: false
devices: Fan - 1 Family Room

 

 

I have also tried 

"activeThermostatMode" is "off".

0 REPLIES 0