🗑 switch updater to version integration

This commit is contained in:
James Walker 2022-03-31 22:45:15 -04:00
parent b182d43a24
commit ba56a2170e
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
2021.12.1 2022.3.8

View File

@ -2,10 +2,10 @@
- alias: "Update Available Notification" - alias: "Update Available Notification"
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.updater entity_id: binary_sensor.home_assistant_website_update_available
from: "off" from: "off"
to: "on" to: "on"
action: action:
- service: notify.notify - service: notify.notify
data: data:
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available." message: "Home Assistant {{ states('sensor.home_assistant_website') }} is available."