using this has been working for over a year…
why would 0.84.1+ stop this all of a sudden? Cant find an irregularity, and yet is doesn’t get past the switches to turn off.
naar_bed:
alias: Naar bed
sequence:
- service: script.scene_naar_bed # ok
- service: switch.turn_on
entity_id:
- switch.sw_master_bedroom_cl
- switch.master_bed_outlet # ok
- service: home_assistant.turn_off
entity_id: group.media_player_media #ok i think, the group is off
- service: switch.turn_off
entity_id:
- switch.sw_espresso_keuken_cl
- switch.sw_tv_library_cl
- switch.sw_netwerk_library_cl
- switch.sw_audio_gym_cl
- switch.sw_tv_auditorium_cl
- switch.sw_netwerk_dorm_cl
- switch.subwoofer_outlet # not ok, still on, and no further continuation
- delay:
seconds: 5
- service: switch.turn_off
entity_id: switch.sw_audio_auditorium_cl
- delay:
seconds: 5
- service: switch.turn_off
entity_id: switch.sw_netwerk_auditorium_cl
I don’t get an error at all. Simply stops.
Hope 0.84.1 doesn’t stop when some of these switches are already in an Off state. Hasn’t bothered HA before, and would be a major issue. Ive just entered this in the dev-service manually for each entity, which of course all are valid entities…, and even when already being Off, turning off doesn’t create an error. So no issues in that department.
because of the fact the above script doesn’t reach its end, the script that calls it, and does some other things after it, doesn’t end either…
- alias: 'Activity selection'
id: 'Activity selection'
# hide_entity: True
initial_state: 'on'
trigger:
platform: state
entity_id: input_select.activity
condition:
condition: template
value_template: >
{{ states('input_select.activity') in
['Opstaan','Aan de slag','Home theater',
'Gym', 'Gaming', 'Selamat makan', 'Naar bed', 'Slapen'] }}
action:
- service_template: >
script.{{ trigger.to_state.state | lower | replace(' ','_') }}
- delay:
seconds: 2
- service: mqtt.publish
data_template:
topic: 'activity_selection'
retain: true
payload: >
{{ states('input_select.activity') }}
- service: python_script.summary
in other words, this is a complete mess now, why o why.
fear this has to do with it:
but nothing more on this?
please help?