🔧 use update entity for release notifications
This commit is contained in:
parent
4d09fdc93a
commit
fddd7ffbbe
@ -1 +1 @@
|
|||||||
2022.12.0
|
2023.1.1
|
@ -1,11 +1,12 @@
|
|||||||
# Example configuration.yaml entry
|
# Get notifications when new updates are available
|
||||||
- alias: "Update Available Notification"
|
- alias: "Update Available Notification"
|
||||||
|
id: "ae8b75ea-0914-4816-a772-4d0224b262fa"
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.home_assistant_website_update_available
|
entity_id: update.home_assistant_core_update
|
||||||
from: "off"
|
|
||||||
to: "on"
|
to: "on"
|
||||||
action:
|
action:
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
message: "Home Assistant {{ states('sensor.home_assistant_website') }} is available."
|
title: "New update available"
|
||||||
|
message: "Home Assistant Core update is available."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user