Multiple Binary Sensors, with different options

Hey guys, I am having some trouble setting up my doorbell switch.
Here is my configuration.yaml:
I need my PIR sensor with default settings, and my pushbutton with pull_mode:UP [could be ommited, i know] and invert_logic: true,
How to i fit those two in my code?

my configuration.yaml:
binary_sensor: !include binary_sensors.yaml

And my binary_sensors.yaml:

  - platform: rpi_gpio
    ports:
      13: door_outside_bell
      pull_mode: UP
      invert_logic: true
      1: PIR Living Room

Any ideas?
(edit: thanks for the formatting help @fabaff )

I figured it out, inserted a second platform:
my binary_sensors.yaml:

  - platform: rpi_gpio
    ports:
      1: PIR Living Room
      #5: watermeter
  - platform: rpi_gpio
    ports:      
      13: door_outside_bell
    pull_mode: UP
    invert_logic: true
    bouncetime: 30
2 Likes