Notifications sometimes work and sometimes they doesn't

Since version 0.44.x it looks like iOS notification and some other automation is buggy. Sometimes after a complete clean start of Hassbian (first stop HASS, remove the /home/homeassistant.homeassistant/deps/ directory and a reboot it comes back up successfully. After a restart of HASS it usually doesn’t.

I have no errors in the Configuration Validation. I’m using the following code:

automation

  - alias: "Startup Notification"
    trigger:
      platform: homeassistant
      event: start
    action:
      service: notify.ios_iphonewilfred
      data:
        message: "Oké! Home Assistant is weer actief!"

  - alias: "Bij beweging sensornode2 => sensornode2 led aan"
    trigger:
      platform: template
      value_template: "{{ states('sensor.bewegingmelder_sn2') == 'Beweging' }}"
    action: 
      service: light.turn_on
      entity_id: light.sn2_led
      data:
        brightness: 100
        rgb_color: [0, 0, 255]
      
  - alias: "Bij geen beweging sensornode2 => sensornode2 led uit"
    trigger:
      platform: template
      value_template: "{{ states('sensor.bewegingmelder_sn2') == 'Rust' }}"
    action:
      service: light.turn_off
      entity_id: light.sn2_led

All these three automations doesn’t work if the anomaly occurs. Has anybody have any idea what causes this effect?

Looks like a corrupt SD card was the problem. Bought a new one.