Updater


The updater binary sensor will check daily for new releases of the Home Assistant Core. The state will be “on” when an update is available. Otherwise, the state will be “off”. The newer version, as well as the link to the release notes, are attributes of the updater.

Configuration

This integration is by default enabled, unless you’ve disabled or removed the default_config: line from your configuration. If that is the case, the following example shows you how to enable this integration manually:

updater:

Notification

For an added bonus, an automation integration can be created to send a message with a notifier when that state of this component’s entity changes.

# Example configuration.yaml entry
automation:
  - 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."