Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (29 sloc) 915 Bytes
---
# This alerts me on my iPhone when a new release
# of Home Assistant for Hass.io is released.
#
alias: system_upgrade_alert
trigger:
platform: state
entity_id: input_boolean.updater
to: 'on'
action:
- service: notify.synchat_nx
data_template:
message: >-
There is a Home Assistant upgrade for Hass.io pending!
Version {{ states('sensor.version_available') }} just got released! #GitLab #CI #Failed
- service: persistent_notification.create
data_template:
title: Upgrade time!
message: >-
There is a Home Assistant upgrade for Hass.io pending!
Version {{ states('sensor.version_available') }} just got released!
notification_id: hassio_upgrade
- service: notify.alexa_media
data:
target:
- media_player.study
data:
type: announce
message: "There is a Home Assistant upgrade for Hass.io pending!"
You can’t perform that action at this time.