So I have finally figured it out. Well at least it seems to work. In case anyone is interested in my (beginners) solution.
[{"id":"65ec743a7f0ea79b","type":"tab","label":"Alarmanlage","disabled":false,"info":"","env":[]},{"id":"3df7aa40966ea59c","type":"server-state-changed","z":"65ec743a7f0ea79b","name":"Sicherheitskontakt ausgelöst","server":"da0e9c5b.7a9ee","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.sicherheitskontakte","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":140,"y":80,"wires":[[],[]]},{"id":"60aef7da4da6e6e9","type":"debug","z":"65ec743a7f0ea79b","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1380,"y":80,"wires":[]},{"id":"b377056b75ee3a28","type":"api-current-state","z":"65ec743a7f0ea79b","name":"Status der Alarmanlage","server":"da0e9c5b.7a9ee","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.oeq0096260_armstate_gf_hall_siren","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"triggerId"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":490,"y":200,"wires":[["9fd932886cd8abc6"]]},{"id":"9fd932886cd8abc6","type":"switch","z":"65ec743a7f0ea79b","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"disarmed","vt":"str"},{"t":"eq","v":"armed","vt":"str"},{"t":"eq","v":"x","vt":"str"},{"t":"eq","v":"y","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":710,"y":200,"wires":[["92808b8e244601e4"],[],[],[]]},{"id":"853a78ee181e8f4f","type":"server-state-changed","z":"65ec743a7f0ea79b","name":"Sicherheitskontakt ausgelöst","server":"da0e9c5b.7a9ee","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":["binary_sensor.oeq0440565_gf_office_window_state","binary_sensor.peq0564500_state"],"entityidfiltertype":"list","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":200,"y":200,"wires":[["b377056b75ee3a28"],[]]},{"id":"49a28a251171b8b8","type":"api-call-service","z":"65ec743a7f0ea79b","name":"Nachricht senden","server":"da0e9c5b.7a9ee","version":5,"debugenabled":true,"domain":"notify","service":"pushover","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\"Sensor: {{topic.attributes.friendly_name}}\",\"title\":\"Sicherheitskontakt wurde geöffnet\",\"target\":\"Daniels_iPhone_6\",\"data\":{\"attachment\":\"{{filename.attributes.entity_picture}}\"}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1550,"y":200,"wires":[[]]},{"id":"92808b8e244601e4","type":"api-current-state","z":"65ec743a7f0ea79b","name":"Name von Kontakt holen","server":"da0e9c5b.7a9ee","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"{{topic}}","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":930,"y":200,"wires":[["f9e9561945ba253c"]]},{"id":"60521e7f4f6e3c6d","type":"inject","z":"65ec743a7f0ea79b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":240,"y":480,"wires":[["64a352c444dff1dd"]]},{"id":"64a352c444dff1dd","type":"api-current-state","z":"65ec743a7f0ea79b","name":"","server":"da0e9c5b.7a9ee","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"camera.192_168_1_109","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":610,"y":480,"wires":[[]]},{"id":"f9e9561945ba253c","type":"api-current-state","z":"65ec743a7f0ea79b","name":"","server":"da0e9c5b.7a9ee","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"camera.192_168_1_109","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"filename","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1250,"y":200,"wires":[["49a28a251171b8b8"]]},{"id":"da0e9c5b.7a9ee","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"}]