Ring transformer problems as linked device

I have a Ring transformer that is linked to a motion sensor AND set up as a schedule. Here’s what should happen:

  • transformer on from dusk to 4 hours after dusk
  • during all other times, transformer is turned on when activated by the motion sensor

heres what is happening:

  • lights turn on at dusk
  • if sensor detects metion BEFORE 4 hours after dusk, then transformer turns lights OFF after the temporary “lights on” duration

How do I fix this so that lights are always on during the schedule of Dusk to 4 hours after dusk?