Hi,
I have a script that is being used for a fan, but since upgrading to 0.113 it stopped working and i cant figure out why it stopped working. I have rolled back my installation to 0.112.3 andthe script does work on that version.
Someone here that can kick me in the right direction?
zolder_fan_on:
alias: zolder ventilator aan
sequence:
- service: input_boolean.turn_on
data:
entity_id: input_boolean.zolder_fan_state
- delay:
seconds: 1
- service_template: >
{% if is_state("input_select.zolder_fan_speed", "Min") %}
script.zolder_fan_min
{% elif is_state("input_select.zolder_fan_speed", "Med") %}
script.zolder_fan_med
{% elif is_state("input_select.zolder_fan_speed", "Max") %}
script.zolder_fan_max
{% endif %}
zolder_fan_min:
alias: zolder ventilator min
sequence:
- service: script.turn_off
entity_id: script.zolder_fan_min
- service: switch.turn_off
data:
entity_id: switch.comfo_fan_0, switch.comfo_fan_1
- service: input_select.select_option
data_template:
entity_id: input_select.zolder_fan_speed
option: "Min"
- service: fan.turn_on
entity_id: fan.zolder_fan
zolder_fan_med:
alias: zolder ventilator med
sequence:
- service: script.turn_off
entity_id: script.zolder_fan_med
- service: switch.turn_off
data:
entity_id: switch.comfo_fan_1
- service: switch.turn_on
data:
entity_id: switch.comfo_fan_0
- service: input_select.select_option
data_template:
entity_id: input_select.zolder_fan_speed
option: "Med"
- service: fan.turn_on
entity_id: fan.zolder_fan
zolder_fan_max:
alias: zolder ventilator max
sequence:
- service: script.turn_off
entity_id: script.zolder_fan_max
- service: switch.turn_on
data:
entity_id: switch.comfo_fan_0, switch.comfo_fan_1
- service: input_select.select_option
data_template:
entity_id: input_select.zolder_fan_speed
option: "Max"
- service: fan.turn_on
entity_id: fan.zolder_fan
zolder_fan_set_speed:
alias: zolder ventilator snelheid
sequence:
- service: input_select.select_option
data_template:
entity_id: input_select.zolder_fan_speed
option: "{{ speed }}"