Filtering motion DETECTED

I’m trying to make a custom overview of when my motion sensor has triggerd (status “DETECTED”).
I fiddled a bit with FILTER, but that didn’t work.

The idea is to use use a logboog card to show the last 10 detected occurences

type: logbook
entities:
  - sensor.motionless

And in my configuration.yaml I configured a sensor

sensor:
  - platform: filter
    name: "motionless"
    entity_id: binary_sensor.motion_sensor_1_motion

But no clue what filter to use.

any ideas?