Advertisement
boelle11

Untitled

Feb 20th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. blueprint:
  2. name: Smart Thermostat
  3. description: 'Based on wind direction thermostat is set to max'
  4. domain: automation
  5. input:
  6. weather:
  7. name: Weather
  8. description: Specify your weather to get the current outside wind direction from.
  9. selector:
  10. entity:
  11. domain: weather
  12. thermostat:
  13. name: Thermostat
  14. selector:
  15. entity:
  16. domain: climate
  17. wind1:
  18. name: wind1
  19. description: "The ouside wind needs to be between the next 2 values to raise the thermostat to max"
  20. default: 123.75
  21. selector:
  22. number:
  23. step: 1
  24. min: 123.75
  25. max: 236.25
  26. unit_of_measurement: "°"
  27. wind2:
  28. name: wind2
  29. description: "The ouside wind needs to be between the next 2 values to raise the thermostat to max"
  30. default: 236.25
  31. selector:
  32. number:
  33. step: 1
  34. min: 123.75
  35. max: 236.25
  36. unit_of_measurement: "°"
  37. temp_to_set:
  38. name: Temperature
  39. default: 23
  40. selector:
  41. number:
  42. min: 20
  43. max: 29
  44. unit_of_measurement: "°"
  45. trigger:
  46. platform: numeric_state
  47. entity_id: !input 'weather'
  48. attribute: wind_bearing
  49. above: !input 'wind1'
  50. below: !input 'wind2'
  51. action:
  52. service: climate.set_temperature
  53. target: !input thermostat
  54. data:
  55. temperature: !input temp_to_set
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement