Hue motion sensor to trigger Rachio zone to scare deer

I hope that this automation is possible. I’m working to avoid have hoses all over my yard for the separate motion sprinklers and to avoid using electric fencing.

I want to have the Hue outdoor motion sensor, when triggered for 10 sec by motion, to make the Rachio Zone 2 go one for 1 minute. Only between 11p and 630a daily.

alias: Animal Repellent
description: >-
  Will start turf zone on Rachio after motion sensor detects motion in the front
  yard between the hours of 11p and 630a
trigger:
  - platform: state
    entity_id: binary_sensor.front_yard_motion_sensor_motion
    to: 'on'
    from: 'off'
    for: '00:00:10'
condition:
  - condition: time
    after: '23:00:00'
    before: '06:30:00'
action:
  - service: rachio.start_multiple_zone_schedule
    target:
      entity_id: switch.sprinkler_zone2_turf
    data:
      duration: '1'
initial_state: false
mode: restart

Any feedback would be appreciated.

Nothing obviously wrong.
What doesn’t work?

It’s not doing anything even though there’s movement sensed.

Do you see the automation being triggered if you actually move in front of the sensor for 10 second?

I changed the sensor to 5 seconds and it worked. Thank you for looking over the yaml.