Alexa: Notify me of new HA version

Here is my automation to announce there is a new HA version when I enter my office.
Just thought I’d share…

alias: HA Update Notification (Announce)
description: ''
trigger:
  - type: motion
    platform: device
    device_id: e8bf9866093a11eb91e14fbce81191bd
    entity_id: binary_sensor.motion_office
    domain: binary_sensor
condition:
  - condition: state
    entity_id: binary_sensor.updater
    state: 'on'
action:
  - service: media_player.volume_set
    data:
      volume_level: 0.5
    entity_id: media_player.echo_dot
  - service: notify.alexa_media_echo_dot
    data:
      message: >-
        I've noticed that a new version of Home Assistant {{
        state_attr('binary_sensor.updater', 'newest_version') }} is now
        available.
      data:
        type: announce
mode: single

1 Like

Is there a question here?

Sorry, no. I posted with the wrong tag.
I’ve changed it to Share your Projects!
My apologies…

2 Likes