Advertisement
adorobis

Restore climate setpoint

Dec 16th, 2022
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. alias: AC - Set target temps on server start
  2. description: ""
  3. trigger:
  4. - platform: homeassistant
  5. event: start
  6. - platform: device
  7. type: turned_on
  8. device_id: c954c93f64f92f3e2d3973bc6c85c328
  9. entity_id: switch.shelly1pm_84cca8af9e4b
  10. domain: switch
  11. for:
  12. hours: 0
  13. minutes: 3
  14. seconds: 0
  15. condition: []
  16. action:
  17. - service: climate.set_temperature
  18. target:
  19. entity_id: climate.klima_asia
  20. data:
  21. temperature: "{{ states.input_number.ac_setpoint_asia.state | float(0) }}"
  22. - service: climate.set_temperature
  23. target:
  24. entity_id: climate.klima_julia
  25. data:
  26. temperature: "{{ states.input_number.ac_setpoint_julia.state | float(0) }}"
  27. - service: climate.set_temperature
  28. target:
  29. entity_id: climate.klima_paulina
  30. data:
  31. temperature: "{{ states.input_number.ac_setpoint_paulina.state | float(0) }}"
  32. - service: climate.set_temperature
  33. target:
  34. entity_id: climate.klima_sypialnia
  35. data:
  36. temperature: "{{ states.input_number.ac_setpoint_sypialnia.state | float(0) }}"
  37. mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement