home-assistant-config/automations/system/update.yaml

12 lines
358 B
YAML
Raw Normal View History

2021-12-12 22:28:21 -05:00
# Example configuration.yaml entry
- alias: "Update Available Notification"
trigger:
- platform: state
entity_id: binary_sensor.home_assistant_website_update_available
2021-12-12 22:28:21 -05:00
from: "off"
to: "on"
action:
- service: notify.notify
data:
message: "Home Assistant {{ states('sensor.home_assistant_website') }} is available."