update notifications

This commit is contained in:
James Walker 2021-12-12 22:28:21 -05:00
parent 18321bbbd4
commit 9013e4addd
Signed by: walkah
GPG Key ID: 3C127179D6086E93

View File

@ -0,0 +1,11 @@
# Example configuration.yaml entry
- alias: "Update Available Notification"
trigger:
- platform: state
entity_id: binary_sensor.updater
from: "off"
to: "on"
action:
- service: notify.notify
data:
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."