🗑 switch updater to version integration
This commit is contained in:
parent
b182d43a24
commit
ba56a2170e
@ -1 +1 @@
|
||||
2021.12.1
|
||||
2022.3.8
|
@ -2,10 +2,10 @@
|
||||
- alias: "Update Available Notification"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.updater
|
||||
entity_id: binary_sensor.home_assistant_website_update_available
|
||||
from: "off"
|
||||
to: "on"
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."
|
||||
message: "Home Assistant {{ states('sensor.home_assistant_website') }} is available."
|
||||
|
Loading…
x
Reference in New Issue
Block a user