Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bootsa/d73cb4161ecadddb17939339affafa9f to your computer and use it in GitHub Desktop.
Save bootsa/d73cb4161ecadddb17939339affafa9f to your computer and use it in GitHub Desktop.
Perform action (e.g. send notification, etc) when Home Assistant starts
blueprint:
name: Action on HA start
description: Do something when Home Assistant has successfully started
domain: automation
source_url: https://gist.github.com/bootsa/d73cb4161ecadddb17939339affafa9f
input:
actions:
name: Actions
description: Actions (e.g. pushing a notification, TTS announcement, ...)
selector:
action: {}
trigger:
platform: homeassistant
event: start
action:
- choose: []
default: !input 'actions'
mode: single
max_exceeded: silent
@bootsa
Copy link
Author

bootsa commented Feb 24, 2021

Making more general to allow more customisable actions.

(action choices taken from https://gist.github.com/sbyx/6d8344d3575c9865657ac51915684696)

@bootsa
Copy link
Author

bootsa commented Feb 26, 2021

Fix action section

@bootsa
Copy link
Author

bootsa commented Feb 27, 2021

Fix action syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment