home assistant restart event
http://192.168.2.50:8123/config/automation/edit/1703083228402
http://192.168.2.50:8123/config/automation/edit/1703083228402
0
alias: Gloable - A HA Start homeassistant.restart
description: >-
https://github.com/rodpayne/home-assistant/blob/88875142d709ed9f0aa738d68f61ab533c6eb9d5/.homeassistant/automation_folder/HA-Start.yaml
http://localhost:4999/boards/topic/22981/home-assistant-restart-event
trigger:
- platform: homeassistant
event: start
condition:
- condition: state
entity_id: sun.sun
state: below_horizon
action:
- service: persistent_notification.create
data:
title: Home Assistant
message: Home Assistant was started {{ now().strftime("%Y-%m-%d %H:%M") }}
- service: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.input_boolean_dark
mode: single
initial_state: "on"