system_upgrade_alert

View All Rules

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: notify.signal_stuart
    data:
      message: "Home Assistant version {{ states('sensor.version_available') }} just got released!"
  - 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!"

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.