Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Inizio riscaldamento automatico
- description: ""
- trigger:
- - platform: time
- at: input_datetime.ora_inizio_automazione
- - platform: time_pattern
- seconds: "59"
- - condition: state
- entity_id: group.famiglia.not_home
- state: not_home
- - condition: state
- entity_id: group.famiglia.home
- state: home
- condition:
- - condition: state
- entity_id: input_boolean.modalita_inverno_riscaldamento_automatico
- state: "on"
- - condition: time
- after: input_datetime.ora_inizio_automazione
- before: input_datetime.ora_fine_riscaldamento
- - condition: numeric_state
- entity_id: input_number.temperatura_target
- above: sensor.temperatura_impostata_salotto
- action:
- - choose:
- - conditions:
- - condition: trigger
- id: group.famiglia.not_home
- sequence:
- - service: climate.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: climate.living_room
- - service: climate.set_temperature
- metadata: {}
- data:
- temperature: "{{ states('input_number.temperatura_non_in_casa')| float(0) }}"
- hvac_mode: heat
- target:
- entity_id: climate.living_room
- - choose:
- - conditions:
- - condition: trigger
- id: group.famiglia.home
- sequence:
- - service: climate.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: climate.living_room
- - service: climate.set_temperature
- metadata: {}
- data:
- temperature: "{{ states('input_number.temperatura_target')| float(0) }}"
- hvac_mode: heat
- target:
- entity_id: climate.living_room
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement