I need a trigger for an automation that fires when Home Assistant (HA) has fully started.
According to the documentation, there’s an event called homeassistant_started for this purpose.
Unfortunately, this event seems to be incorrect or isn’t triggering.
I have this test automation:
id: ‘test_ha_started_event’
alias: “TEST: HA Started Event Listener”
mode: single
trigger:
platform: event
event_type: homeassistant_started
condition:
action:
service: persistent_notification.create
data:
title: “Home Assistant started”
message: “homeassistant_started Event received.”
Can someone tell me where the error lies?
Thanks
Use the Home Assistant Trigger, which can be found in Automation Trigger - Home Assistant … as recommended in the Events docs:
I read this, but it seems that Home Assistant trigger only supports event start and event shutdown.
How is the event for “HA is started”?
automation:
triggers:
- trigger: homeassistant
# Event can also be ‘shutdown’
event: start
Remember, I need a trigger when HA is started completely.
VietNgoc
(Ngoc John)
February 2, 2026, 12:55am
4
Use manual event as trigger…
I tried this Test-Automation, but it seems that no event was fired:
- id: 'test_ha_started_event'
alias: "TEST: HA Started Event Listener"
mode: single
trigger:
- platform: event
event_type: homeassistant_started
condition: []
action:
- service: persistent_notification.create
data:
title: "Home Assistant started"
message: "homeassistant_started Event received."
finity
February 2, 2026, 8:15pm
6
I’m pretty sure this works. I use it in a current automation.
trigger:
- platform: homeassistant
event: start
123
(Taras)
February 2, 2026, 8:31pm
7
It doesn’t work when used in automations.
I encountered the same issue in 2024 and reported it. Turns out that it won’t work in an automation (but will work in a Trigger-based Template Sensor).
opened 07:57PM - 25 Aug 24 UTC
closed 10:48PM - 27 Aug 24 UTC
integration: automation
### The problem
According to the [documentation](https://www.home-assistant.io/… docs/configuration/events/#homeassistant_start-homeassistant_started), there are two events posted on startup:
1. `homeassistant_start`
2. `homeassistant_started`
In the past both events were posted on startup but recently they're no longer detectable via an Event Trigger. I first noticed it in 2024.7.X and 2024.8.3 has the same issue.
---
#### Speculation
Is it possible that these two events are posted _before_ the Automation integration is loaded? That would explain why the automation's Event Trigger can't detect them. Or are the two events simply no longer posted?`
### What version of Home Assistant Core has the issue?
core-2024.8.3
### What was the last working version of Home Assistant Core?
prior to 2024.7.X but not sure in which version it stopped functioning
### What type of installation are you running?
Home Assistant Supervised
### Integration causing the issue
automation
### Link to integration documentation on our website
_No response_
### Diagnostics information
No trace file is produced because the automation (shown below) is unable to detect either of the two events on startup.
### Example YAML snippet
```yaml
alias: Startup Detector
description: For testing purposes.
trigger:
- id: START EVENT
platform: event
event_type: homeassistant_start
- id: STARTED EVENT
platform: event
event_type: homeassistant_started
condition: []
action:
- data:
title: Detected {{ trigger.id }}
message: "{{ now().timestamp()|timestamp_custom() }}"
action: notify.persistent_notification
mode: queued
```
### Anything in the logs that might be useful for us?
```txt
Nothing related in the logs.
```
### Additional information
In comparison, the [Home Assistant Trigger](https://www.home-assistant.io/docs/automation/trigger/#home-assistant-trigger) still works properly (although it lacks the granularity provided by the two events).
2 Likes
Sourcer63
(Johannes)
February 2, 2026, 8:43pm
8
Replace
trigger:
- platform: event
event_type: homeassistant_started
condition: []
with
triggers:
- trigger: homeassistant
event: start
conditions: []
According to this:
especially see screenshot above from Didgeridrew
there are 2 events:
homeassistant_start and homeassistant_started
according to this, homeassistant_start is fired the HA starts, and homeassistant_started should be fired when HA is started completely.
I need the event when HA is started completely in an automation.
Sourcer63
(Johannes)
February 3, 2026, 8:51am
10
Did you try this syntax?
triggers:
- trigger: homeassistant
event: started
conditions: []
yes, for this trigger is start and shutdown the only allowed event.
Sourcer63
(Johannes)
February 3, 2026, 6:06pm
12
That’s what I had insinuated in my first answer with ‘start’.
Can you elaborate a little bit why start is not working for you?
Because, according the description here
event “start” is firering at the beginning of the start from HA, and “started” when finished starting.
Sourcer63
(Johannes)
February 3, 2026, 6:36pm
14
The doc seems outdated. Is anything not working when you use ‘start’?
For the event ton fire HA needs to be operational - and is when the event gets triggered.
stevemann
(Stephen Mann (YAML-challenged))
February 3, 2026, 6:50pm
15
Please use code tags in your posts.
I log my Home Assistant starts with an automation. Maybe this might help you:
- id: '1729005744617'
alias: Log Home Assistant Start
description: Logs every HA start to www/home_assistant_log.txt
triggers:
- trigger: homeassistant
event: start
conditions: []
actions:
- action: shell_command.log_home_assistant_start
metadata: {}
data: {}
mode: single
I can confirm that the ‘start’ doesn’t trigger until HA is completely up and operational. I have an automation to send me a notification on shutdown and start. It’s not uncommon that I’m watching it startup and it always triggers right when it finishes starting.
After testing with Trigger-based template sensors…
Sensor Config
template:
- trigger:
- trigger: homeassistant
event: start
sensor:
name: HA Trigger Start
state: "{{ now() }}"
- triggers:
- trigger: event
event_type: homeassistant_started
sensor:
name: Started Event
state: "{{ now() }}"
- triggers:
- trigger: event
event_type: homeassistant_start
sensor:
name: Start Event
state: "{{ now() }}"
… the Home Assistant trigger is consistently posting earlier values for now() than using the Event trigger with the homeassistant_started event type. On my system, running 2026.2.0b3 which seems slower to start than normal, the difference was about 15 secs.
@blacksun
If you really need a trigger based on the homeassistant_started event, and the Home Assistant trigger will not work for your needs, your best bet currently is to set up a Trigger based template sensor using the Event trigger, then fire your automation of that sensor’s state change.
Another option would be to use the config above to run your own tests, then trigger your automation using the Home Assistant trigger but add a delay at the start of the automation.
Just keep in mind that even the homeassistant_started event isn’t a guarantee that all custom integrations are fully up and running or have completed all their required handshakes/data transfer if they are cloud-dependent.
Lacking alternatives, I’ve been using the Home Assistant trigger with the start event.
In my tests so far, the trigger only fired once Home Assistant was fully loaded.
Since the documentation says otherwise, I’m unsure if this will remain the case.
I’ve been using it for years and it’s always triggered AFTER startup finished.
I use it to load an input_select from a folder sensor (file list) at startup and never had a problem