12 lines
340 B
YAML
12 lines
340 B
YAML
|
# 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."
|