ThingSpeak watchdog - set send interval limit

I’m trying to set up Thingspeak on my Home Assistant to send just a “signal” so I can get a notification if the server die or lose the Internet connection.
In my case I want to send the value “1” every 45 seconds.
The example I’ve found are always based on sensor values change. I don’t want that.
I need some guidance because I don’t know the best way to do it.
Can I create a timer to call a “sensor” like this ones?

Thanks for any help

Ok…
After some tests i tried this:

sensor:
  - platform: rest
    name: thingspeak_heartbeat
    resource: https://api.thingspeak.com/update?api_key=XXXXXXXXXXXXXXXXXXXX&field1=1
    method: GET

After restarting HA it started to automatically to send value “1” from 30 to 30 seconds!!!
This is what I wanted YEY!!! :smiley: But I don’t understand why… :astonished:

Shouldn’t I have to create some kind of a Trigger or Scene to call it?
This is the Tingspeak sensor with a 30s countdown:
Captura de ecrã de 2022-08-31 13-54-14