🔧 use update entity for release notifications

This commit is contained in:
walkah committed 2023-01-06 23:48:46 -05:00
1 parent 4d09fdc93a
commit fddd7ffbbe
2 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -1 +1 @@
2022.12.0
2023.1.1
+5 -4
View File
@@ -1,11 +1,12 @@
# Example configuration.yaml entry
# Get notifications when new updates are available
- alias: "Update Available Notification"
id: "ae8b75ea-0914-4816-a772-4d0224b262fa"
trigger:
- platform: state
entity_id: binary_sensor.home_assistant_website_update_available
from: "off"
entity_id: update.home_assistant_core_update
to: "on"
action:
- service: notify.notify
data:
message: "Home Assistant {{ states('sensor.home_assistant_website') }} is available."
title: "New update available"
message: "Home Assistant Core update is available."