Automation when sensor hasn't been updated in X amount of time

I have a sensor like this:


And I would like to create an automation that alerts when it hasn’t been updated in 5 mins for example.
When clicking the sensor I can see the X seconds/minutes ago but no idea how to find this in the automation creation pane
image

What should I look for?

Use the state trigger:

automation:
  trigger:
    - platform: state
      entity_id: sensor.current_house_consumption
      for: "00:05:00"

Wow, so easy, thanks :sweat_smile: