daily pastebin goal
89%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script:
  2.   timed_fan:
  3.     alias: "Turn on house fan and set timer"
  4.     sequence:
  5.       # Cancel ev. old timers
  6.       - service: script.turn_off
  7.         data:
  8.            entity_id: script.timer_off
  9.       - service: climate.set_fan_mode
  10.         entity_id: climate.trane_model_tzemt400ab32maa_cooling_1
  11.         data:
  12.           fan_mode: 'On Low'
  13.       # Set new timer
  14.       - service: script.turn_on
  15.         data:
  16.           entity_id: script.timer_off
  17.  
  18.   timer_off:
  19.     alias: "Turn off house fan after 30 minutes"
  20.     sequence:
  21.       - delay:
  22.           minutes: 30
  23.       - service: climate.set_fan_mode
  24.         entity_id: climate.trane_model_tzemt400ab32maa_cooling_1
  25.         data:
  26.           fan_mode: 'Auto Low'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top