Help needed notificatin gas consumption


HA can help in saving money for gas usage I think. So I thought to create an automation to send me and/or my wife a notification to the iphone when on a day the gas consumption exceeds - let’s say - 5M3.For that I created below automation, which looks at the gas sensor used in the energy dashboard. I thought I can use it as it reflects daily usage. Not surenif that is what the SENSOR does or what automagically happens due to the ENERGY component in HA.
When I fire the automation manually, it sends me a notification.

Now I have the following questions:

  1. the notification is only received on the iphone when I open the HA app. Is there a way to receive it when the app is not in use? Do I need some kind of other notification (whatsapp, sms, …)
  2. the notification does not fire automatically when the number is reached. Am I making a mistake?

A picture of the sensor used:

And the yaml of the automation:

alias: Notificatie gas
description: ""
  - platform: numeric_state
    entity_id: sensor.dsmr_consumption_gas_delivered
    above: 5
condition: []
  - service: notify.mobile_app_iphone_eric
      message: High gas consumption!
      title: Gas consumption
mode: single

Help is very much appreciated!