Lights, Two Motion Sensors

I’m starting out and having trouble thinking through the logic / setup of lights on two motion sensors. I have a group of lights that I want to control using two motion sensors where if one sensor sees motion the group of lights turns on until motion is no longer sensed be either sensor for 1 minute. I’ve tried to setup an automation but I’m getting the lights to turn on but motion on the other sensor turns them off!
Some guidance would be appreciated!

Group the motion sensors too… if the group uses the “any” behavior, it will be “on” when at least one of the sensors is detecting motion and “off” only when all sensors have cleared.

Or, you can use the “behavior” options in the triggers if you are using the purpose-specific triggers:

description: ''
mode: single
triggers:
  - id: detected
    alias: This triggers when any of the sensors detect motion.
    trigger: motion.detected
    target:
      entity_id:
        - binary_sensor.motion_1
        - binary_sensor.motion_2
    options:
      for: '00:00:00'
      behavior: any
  - id: cleared
    alias: This only triggers when all the sensors have cleared
    trigger: motion.cleared
    target:
      entity_id:
        - binary_sensor.motion_1
        - binary_sensor.motion_2
    options:
      for: '00:00:00'
      behavior: all
conditions: []
actions:
  - if:
      - condition: trigger
        id: detected
    then:
      - action: light.turn_on
        target:
          entity_id:
            - light.example_1
            - light.example_2
    else:
      - action: light.turn_off
        target:
          entity_id:
            - light.example_1
            - light.example_2