Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input_boolean:
- stairs_ceiling_fan_control:
- name: Stairs Ceiling Fan Control
- icon: mdi:fan
- climate:
- - platform: generic_thermostat
- name: Stairs Ceiling Fan Thermostat
- unique_id: stairs_ceiling_fan_thermostat
- heater: input_boolean.stairs_ceiling_fan_control
- target_sensor: sensor.upstairs_temperature
- min_temp: 60
- max_temp: 80
- ac_mode: true
- target_temp: 75
- cold_tolerance: 0.25
- hot_tolerance: 0.25
- min_cycle_duration:
- minutes: 1
- initial_hvac_mode: "cool"
- away_temp: 30
- precision: 0.1
- alias: Stairs Ceiling Fan On
- description: ""
- triggers:
- - trigger: state
- entity_id:
- - input_boolean.stairs_ceiling_fan_control
- - climate.upstairs
- - climate.downstairs
- conditions:
- - condition: or
- conditions:
- - condition: state
- entity_id: input_boolean.stairs_ceiling_fan_control
- state: "on"
- - condition: state
- entity_id: climate.upstairs
- attribute: fan
- state: "on"
- - condition: state
- entity_id: climate.downstairs
- attribute: fan
- state: "on"
- actions:
- - action: fan.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: fan.stairs_ceiling_fan
- mode: single
- alias: Stairs Ceiling Fan Off
- description: ""
- triggers:
- - trigger: state
- entity_id:
- - input_boolean.stairs_ceiling_fan_control
- - climate.upstairs
- - climate.downstairs
- conditions:
- - condition: not
- conditions:
- - condition: state
- entity_id: input_boolean.stairs_ceiling_fan_control
- state: "on"
- - condition: state
- entity_id: climate.upstairs
- attribute: fan
- state: "on"
- - condition: state
- entity_id: climate.downstairs
- attribute: fan
- state: "on"
- actions:
- - action: fan.turn_off
- metadata: {}
- data: {}
- target:
- entity_id: fan.stairs_ceiling_fan
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement