Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- blueprint:
- name: Smart Thermostat
- description: 'Based on wind direction thermostat is set to max'
- domain: automation
- input:
- weather:
- name: Weather
- description: Specify your weather to get the current outside wind direction from.
- selector:
- entity:
- domain: weather
- thermostat:
- name: Thermostat
- description: Specify your thermostat.
- selector:
- entity:
- domain: climate
- wind1:
- name: wind1
- description: "The ouside wind direction needs to be between this and the next"
- default: 123.75
- selector:
- number:
- step: 1
- min: 123.75
- max: 236.25
- unit_of_measurement: °
- wind2:
- name: wind2
- default: 236.25
- selector:
- number:
- step: 1
- min: 123.75
- max: 236.25
- unit_of_measurement: °
- temp_to_set:
- name: Temperature
- default: 23
- selector:
- number:
- min: 5
- max: 30
- unit_of_measurement: "°"
- trigger:
- platform: numeric_state
- entity_id: !input weather
- attribute: wind_bearing
- above: !input wind1
- below: !input wind2
- action:
- service: climate.set_temperature
- target: !input thermostat
- data:
- temperature: !input temp_to_set
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement