Output heat warning via Alexa multiple window contacts

Hello, I am very new to Node Red and slowly learning.
I want the following:

When the outside temperature reaches 28 degrees, Alexa should give a message that the windows should be closed.

However, it should also be intended whether a window is open and only give a message for this window.

I got it so far that it works with an open window. However, if I add a second sensor, Alexa does not say kitchen and bathroom, but 2 times bathroom.

what is the problem here?

[{"id":"0563d7d8e3ce7160","type":"tab","label":"Flow 1","disabled":true,"info":"","env":[]},{"id":"a543bfb201847add","type":"poll-state","z":"0563d7d8e3ce7160","name":"Temperatur über 28°C","server":"6699c69e84fa8ca6","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"1","updateIntervalType":"num","updateIntervalUnits":"minutes","outputinitially":false,"outputonchanged":true,"entity_id":"sensor.openweathermap_temperature","state_type":"num","halt_if":"26","halt_if_type":"num","halt_if_compare":"gte","outputs":2,"x":100,"y":140,"wires":[["bd7dcd952ec0a3ab","fd5352c94a1ff7e8"],[]]},{"id":"7f5ab091304afe50","type":"api-call-service","z":"0563d7d8e3ce7160","name":"Notify Target device with Message","server":"6699c69e84fa8ca6","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_echo_schlafzimmer_2","areaId":[],"deviceId":[],"entityId":[],"data":"{}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","output_location":"","output_location_type":"none","x":1490.6789474487305,"y":193.52387809753418,"wires":[[]]},{"id":"8cb97792420f4360","type":"function","z":"0563d7d8e3ce7160","name":"Create Alexa/IOS Alert","func":"var name = flow.get('alert_name')\n\nvar message1 = flow.get('message1')\nvar message2 = flow.get('friendly_name') \nvar message3 = flow.get('message3')\nvar sound = flow.get('sound')\nvar target = flow.get('target')\n\n\nvar final_msg = `${message1}` + `${message2}` + `${message3}`\nvar payload = {\"data\":\n{\n \"message\": `${final_msg}`,\n \"title\": `${name}`,\n \"data\": {\n \"sound\": `${sound}`,\n \"type\": \"announce\"\n }\n}\n}\nmsg.payload = payload\nmsg.topic = `${target}`\nreturn msg","outputs":1,"noerr":0,"x":1168.0537643432617,"y":193.47595977783203,"wires":[["7f5ab091304afe50","6dce485f4ecc605c"]]},{"id":"7b72d605cac673c8","type":"change","z":"0563d7d8e3ce7160","name":"Set Message Attributes","rules":[{"t":"set","p":"alert_name","pt":"flow","to":"General Alert","tot":"str"},{"t":"set","p":"message1","pt":"flow","to":"Hitzewarnung: ","tot":"str"},{"t":"set","p":"message2","pt":"flow","to":"Das","tot":"str"},{"t":"set","p":"friendly_name","pt":"flow","to":"data.attributes.friendly_name","tot":"msg"},{"t":"set","p":"message4","pt":"flow","to":"bitte schließen!","tot":"str"},{"t":"set","p":"target","pt":"flow","to":"alexa_media_echo_schlafzimmer_2","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":892.1610374450684,"y":193.11866855621338,"wires":[["8cb97792420f4360"]]},{"id":"6dce485f4ecc605c","type":"debug","z":"0563d7d8e3ce7160","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1445.8571662902832,"y":107.80941200256348,"wires":[]},{"id":"bd7dcd952ec0a3ab","type":"api-current-state","z":"0563d7d8e3ce7160","name":"Schlafzimmer Fenster","server":"5a3777c7.b71588","version":3,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","entity_id":"binary_sensor.lumi_lumi_sensor_magnet_aq2_2a66e707_on_off","state_type":"habool","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":500,"y":120,"wires":[["7b72d605cac673c8"],[]]},{"id":"fd5352c94a1ff7e8","type":"api-current-state","z":"0563d7d8e3ce7160","name":"Küchen Fenster","server":"5a3777c7.b71588","version":3,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","entity_id":"binary_sensor.lumi_lumi_sensor_magnet_aq2_df12e707_on_off","state_type":"habool","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":480,"y":180,"wires":[["7b72d605cac673c8"],[]]},{"id":"6699c69e84fa8ca6","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30},{"id":"5a3777c7.b71588","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30"}]

Take a look at example 1

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/node/get-entities.html#example-1