Change state op binary sensor

hello, i have a problem with a binary sensor. This is a door contact that I use on a roller shutter.
I could only place the contact on the top of the shutter. what is my problem now. if the window shutter is up, the sensor says closed, but the shutter is actually open. And this is exactly the same for the bottom. How can I convert the message closed that it should be open
3333

You could use a template binary sensor.

here this should help

put the not in frount of the Sensor

      new_door_status:
        friendly_name: "Door Status"
        value_template: >-
          {{not is_state("binary_sensor.other_door_status",'on')}}
        device_class: door