Notifications iPhone

Hello,

I started my Home Assistant journey last month. I’m still a beginner, and I apologize in advance for my question, which may seem extremely basic, but despite hours of research and many attempts, it still doesn’t work.

I am not receiving notifications on my iPhone. The app is installed on my phone, all sensors are showing up in Home Assistant, notifications are enabled in both the phone settings and the Home Assistant app, and I can access Home Assistant remotely via Cloudflare… I don’t understand where the problem is.

I also tried creating an automation, but it doesn’t work.

I would like to receive a notification on my iPhone for all Home Assistant alerts (available updates, vacuum blocked, etc.).

Thank you in advance for your help.

Ma configuration


System Information

version core-2025.1.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.62-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 1510
Downloaded Repositories 14
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.2
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 28.3 GB
disk_used 7.2 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Matter Server (7.0.0), Mosquitto broker (6.5.0), Zigbee2MQTT (2.0.0-2), Advanced SSH & Web Terminal (20.0.0), File editor (5.8.0), AdGuard Home (5.2.3), Cloudflared (5.2.7), Home Assistant Google Drive Backup (0.112.1)
Dashboards
dashboards 4
resources 9
views 13
mode storage
Recorder
oldest_recorder_run 21 janvier 2025 à 11:18
current_recorder_run 30 janvier 2025 à 12:31
estimated_db_size 102.88 MiB
database_engine sqlite
database_version 3.47.1

Open the automation, click the three dots top right corner, “edit in YAML” and paste the code here, as preformatted text (the </> button), that way we can see the whole automation in the correct language too.

alias: "notifications "
description: ""
triggers:
  - trigger: persistent_notification
    update_type:
      - added
      - updated
conditions: []
actions:
  - action: notify.mobile_app_iphone
    metadata: {}
    data: {}
mode: single