Hi,
I am somewhat lost. I cannot figure out why my script apparently does not run in parallel mode.
I’ve got the following script:
heizung_an:
alias: Heizung an
mode: parallel
sequence:
- condition: template
value_template: "{{ temp_schwelle }}"
- service: climate.set_temperature
data:
entity_id: "{{ climate_entity }}"
temperature: "{{ target_temperature }}"
and for testing I tried to run that script with the following script:
heizung_test:
alias: Heizung an
mode: single
sequence:
- service: script.turn_on
target:
entity_id: script.heizung_an
data:
variables:
temp_schwelle: "{{ (states('sensor.kueche_temperatur') | float) < 23 }}"
climate_entity: climate.heizung_kuche
target_temperature: 23.0
- service: script.turn_on
target:
entity_id: script.heizung_an
data:
variables:
temperaturschwelle: "{{ (states('sensor.bad_temperatur') | float) < 23 }}"
climate-entity: climate.heizung_bad
target-temperature: 23.0
- service: script.turn_on
target:
entity_id: script.heizung_an
data:
variables:
temperaturschwelle: "{{ (states('sensor.temperature_4') | float) < 23 }}"
climate-entity: climate.heizung_kizi
target-temperature: 22.0
- service: script.turn_on
target:
entity_id: script.heizung_an
data:
variables:
temperaturschwelle: "{{ (states('sensor.schlafzimmer_temperatur') | float) < 23 }}"
climate-entity: climate.heizung_schlafzimmer
target-temperature: 20.5
Only the first service call worked. Just the entity “climate.heizung_kuche” was set to the given temperature (note: all conditions were true).
What am I doing wrong?