How to create a binary sensor based on a attribute change

Hey, I’m trying to create a sensor based on any change from a attribute. i see allot of examples that is based on knowing the attribute change like “on” or “off” but this is an url… (Ring doorbell) and every time the url changes i want a sensor to give an alarm for 3 seconds (so i know there is a new recording available

this is the data i have:

entity id:
select.front_door_event_select

attribute:
recordingUrl

does anyone know the answer?

This binary sensor will turn on for 3 seconds every time the URL changes.

template:
  - trigger:
      - platform: state
        entity_id: select.front_door_event_select
        attribute: recordingUrl
        to:
    binary_sensor:
      - name: Doorbell
        state: "{{ true }}"
        auto_off: 3

Thank you so much!