Automation to show HACS updates

Hi, I am using an automation that sends a notification when I got updates to HACS or one of the addons.

It is working beautifully, but I would like to add a URL so I can click and be taken to HACS page, so I can update.

Currently it could look like this:

- id: '1625139617583'
  alias: NOT02 - HACS UPDATE
  description: ''
  - platform: numeric_state
    entity_id: sensor.hacs
    above: '0'
  condition: []
  - service: notify.notify
      message: HACS Update Available
        - action: "URI"
          title: "Click to Update"
          uri: "[omitted]"
  mode: single

My question is, is there a way to leave out the full URL to the nabu casa address? I could use a secret, but I would love if I could make it more persistent, so if the URL changed, then I would not have to update the address.

Hey there! Yes that’s possible, see the companion docs here

TLDR; you can use the following url to get to hacs:


Perfect, I will leave it like this then:

          title: "Click to Update"
          uri: "/hacs/entry"
1 Like