Shelly motion

Hi everybody!
I have a shelly motion sensor that i´m trying to toggle a light but i can´t get the “motion” to trigger it. If i switch to “vibration” instead it works flawlessly.

Non working automation

alias: New automation3
description: ""
trigger:
  - type: motion
    platform: device
    device_id: c51783b08f8f668b4b6034cb5b0acff0
    entity_id: fdf066660a611010e10a0b04cdc5ae19
    domain: binary_sensor
condition: []
action:
  - type: toggle
    device_id: 8fc9020875b1c5e0dd2daaf1e1f78022
    entity_id: 2ec8229215c739b678f20a9bf019c507
    domain: light
mode: single

Working automation

alias: New automation3
description: ""
trigger:
  - type: vibration
    platform: device
    device_id: c51783b08f8f668b4b6034cb5b0acff0
    entity_id: 2c667f57b9895d146f9799adf5c3f2e0
    domain: binary_sensor
condition: []
action:
  - type: toggle
    device_id: 8fc9020875b1c5e0dd2daaf1e1f78022
    entity_id: 2ec8229215c739b678f20a9bf019c507
    domain: light
mode: single

Are you actually seeing the motion entity change state?

Have you tried doing this in the Automation Editor using just the Shelly Motion entity_id (not the device_id)?

Note: The sensor “blind time” will keep the sensor from triggering for this duration - no motion for this duration and then the sensor will trigger again.

image