Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: coolon
- trigger:
- - platform: state
- entity_id: input_boolean.accoolswitch
- to: 'on'
- action:
- - service: script.ac_cool
- - alias: cooloff
- trigger:
- - platform: state
- entity_id: input_boolean.accoolswitch
- to: 'off'
- action:
- - service: script.ac_off
- - alias: heaton
- trigger:
- - platform: state
- entity_id: input_boolean.acheatswitch
- to: 'on'
- action:
- - service: script.ac_heat
- - alias: heatoff
- trigger:
- - platform: state
- entity_id: input_boolean.acheatswitch
- to: 'off'
- action:
- - service: script.ac_off
- - alias: theron
- trigger:
- - platform: state
- entity_id: input_boolean.thermobool
- to: 'on'
- action:
- - service: climate.set_operation_mode
- entity_id: climate.thermo
- data_template:
- operation_mode: "heat"
- - service: climate.set_operation_mode
- entity_id: climate.thermo2
- data_template:
- operation_mode: "cool"
- - alias: theroff
- trigger:
- - platform: state
- entity_id: input_boolean.thermobool
- to: 'off'
- action:
- service: climate.set_operation_mode
- entity_id: climate.thermo, climate.thermo2
- data_template:
- operation_mode: "off"
- - alias: acslid
- trigger:
- platform: state
- entity_id: input_number.sliderac
- action:
- service: climate.set_temperature
- entity_id: climate.thermo, climate.thermo2
- data_template:
- temperature: "{{ states('input_number.sliderac') }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement