home-assistant-config/automations/system/update.yaml
2021-12-12 22:28:21 -05:00

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."