I have had automations which execute multiple actions for a long time. For instance:
- id: manual003 #donker avond
alias: Light on in the evening when lux below x
trigger:
- platform: numeric_state
entity_id: sensor.hall_sensor_light_level
below: 1.9
for:
minutes: 4
- platform: numeric_state
entity_id: sensor.hall_1st_floor_sensor_light_level
below: 1.2
for:
minutes: 7
condition:
condition: and
conditions:
- condition: time
after: '15:00:00'
before: '22:00:00'
- condition: state
entity_id: group.livingroom_lights_group
state: 'off'
action:
- service: notify.pushbullet_raoul
data:
title: Its getting dark
message: '{{now().strftime(''%H:%M:%S'')}} grndflr: {{states(''sensor.hall_sensor_light_level'')}}
1st_flr: {{states(''sensor.hall_1st_floor_sensor_light_level'')}}, garage {{states(''sensor.illumination_7811dcb9dc5b'')}}'
- service: homeassistant.turn_on
entity_id: group.livingroom_lights_group
- service: notify.pushbullet_raoul
data:
title: Its getting dark - before christmas on
message: 'lights_on_action_list - chistmas group up next'
- service: homeassistant.turn_on
entity_id: group.christmas_group
- service: notify.pushbullet_raoul
data:
title: Its getting dark - christmas on
message: 'lights_on_action_list - chistmas group should be on'
- service: switch.turn_on #homeassistant.turn_on
entity_id: switch.gs_energyplug_004_switch
- service: notify.pushbullet_raoul
data:
title: Its getting dark - plug
message: 'lights_on_action_list - plug should be on'
- delay: 00:00:10
- service: homeassistant.turn_on
entity_id: light.kitchen_strip
- service: notify.pushbullet_raoul
data:
title: Its getting dark - end
message: 'End of lights_on_action_list reached. All actions executed and results as expected?'
Since a couple of version (i’m currently on 0.106.6, HA Core, Rpi4) not all actions get executed (the line with message “‘lights_on_action_list - chistmas group up next’” in the code doesn’t execute for instance. I have inserted push notifications between actions to determine what action gets executed and what action not anymore, and it seems only some action are executed (before, i only had one push, as last action to be executed, which worked fine).
Did i miss a change in how HA works? Or could this be a bug?