daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - alias: coolon
  2.   trigger:
  3.     - platform: state
  4.       entity_id: input_boolean.accoolswitch
  5.       to: 'on'
  6.   action:
  7.     - service: script.ac_cool
  8.  
  9. - alias: cooloff
  10.   trigger:
  11.     - platform: state
  12.       entity_id: input_boolean.accoolswitch
  13.       to: 'off'
  14.   action:
  15.     - service: script.ac_off
  16.  
  17. - alias: heaton
  18.   trigger:
  19.     - platform: state
  20.       entity_id: input_boolean.acheatswitch
  21.       to: 'on'
  22.   action:
  23.     - service: script.ac_heat
  24.  
  25. - alias: heatoff
  26.   trigger:
  27.     - platform: state
  28.       entity_id: input_boolean.acheatswitch
  29.       to: 'off'
  30.   action:
  31.     - service: script.ac_off
  32.  
  33. - alias: theron
  34.   trigger:
  35.     - platform: state
  36.       entity_id: input_boolean.thermobool
  37.       to: 'on'
  38.   action:
  39.     - service: climate.set_operation_mode
  40.       entity_id: climate.thermo
  41.       data_template:
  42.         operation_mode: "heat"
  43.     - service: climate.set_operation_mode
  44.       entity_id: climate.thermo2
  45.       data_template:
  46.         operation_mode: "cool"
  47.  
  48. - alias: theroff
  49.   trigger:
  50.     - platform: state
  51.       entity_id: input_boolean.thermobool
  52.       to: 'off'
  53.   action:
  54.     service: climate.set_operation_mode
  55.     entity_id: climate.thermo, climate.thermo2
  56.     data_template:
  57.       operation_mode: "off"
  58.  
  59. - alias: acslid
  60.   trigger:
  61.     platform: state
  62.     entity_id: input_number.sliderac
  63.   action:
  64.     service: climate.set_temperature
  65.     entity_id: climate.thermo, climate.thermo2
  66.     data_template:
  67.       temperature: "{{ states('input_number.sliderac') }}"
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