Guest User

Untitled

a guest
Oct 30th, 2023
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.41 KB | None | 0 0
  1. alias: Fűtés válltás - kazán --> klíma
  2. description: ""
  3. trigger:
  4.   - platform: template
  5.     value_template: >-
  6.       {{ states('input_number.fix_temperature_nappali') | float >
  7.      state_attr('climate.nappali', 'current_temperature') }}
  8. condition:
  9.   - condition: and
  10.     conditions:
  11.       - above: "10"
  12.         condition: numeric_state
  13.         entity_id: sensor.0x00158d00027535bc_temperature
  14.       - condition: state
  15.         entity_id: group.all_windows
  16.         state: "off"
  17.       - after: "09:00"
  18.         before: "18:00"
  19.         condition: time
  20. action:
  21.   - data: {}
  22.     entity_id: group.all_heating
  23.     service: climate.turn_off
  24.   - data:
  25.       hvac_mode: heat
  26.     entity_id: climate.nappali_klima
  27.     service: climate.set_hvac_mode
  28.   - data:
  29.       temperature: 23
  30.     entity_id: climate.nappali_klima
  31.     service: climate.set_temperature
  32. mode: single
  33.  
  34.  alias: Fűtés válltás - klíma --> kazán
  35. description: ""
  36. trigger:
  37.   - platform: template
  38.     value_template: >-
  39.       {{ states('input_number.fix_temperature_nappali') | float <
  40.       state_attr('climate.nappali', 'current_temperature') }}
  41. condition:
  42.   - condition: state
  43.     entity_id: climate.nappali_klima
  44.     state: heat
  45. action:
  46.   - data: {}
  47.     entity_id: climate.nappali_klima
  48.     service: climate.turn_off
  49.   - data:
  50.       hvac_mode: auto
  51.     entity_id: group.all_heating
  52.     service: climate.set_hvac_mode
  53. mode: single
Advertisement
Add Comment
Please, Sign In to add comment