Help: Configuring time on for motion-activated light using blueprint

Hi everyone, I am new here and completely new to home automation so I’m still struggling with details.

Yesterday I set up my first automation, and the parts involved are:

I made the automation as simple as possible and used the motion_light blueprint:

alias: Motion-activated pantry light
description: ''
use_blueprint:
  path: homeassistant/motion_light.yaml
  input:
    motion_entity: binary_sensor.pantry_motion_sensor_occupancy
    light_target:
      device_id: e8173429045c6c57a78ca244ec3370d7
    no_motion_wait: 5

Everything works, but the light is on for longer than I’d like and I can’t for the life of me figure out where this is done.

I’ve configured the motion sensor to have an occupancy_timeout value of 60 (default 90) in Zigbee2MQTT. However, each time this runs there seems to be a default value where the light remains on for 180 seconds. I want this way lower, and each time the motion sensor is activated I would like to extend that time, which as far as I can tell is the behavior of the blueprint.

This is a timeline of my most recent activation:

Any help would be greatly appreciated!

is this the ikea motion sensor?

They are hard programmed to be on for 180

I replaced it with an RF motion sensor🤔

1 Like

Thanks for the reply!

Yes, it is an IKEA motion sensor. It is this one.

That is too bad, I guess I’ll have to look for alternatives and use this where a longer on-time is acceptable.

EDIT:
I found the information on IKEAs website. It’s in Swedish but it basically says my version of the sensor is hard set to 3 minutes, older generations were configurable for 1, 5 and 10 minutes.