Well well well, I think i found it not the prettiest workarround but it works
[{"id":"9151ca7.cd79e38","type":"trigger","z":"b2502674.296df8","name":"","op1":"trigger Sonos spoken info ","op2":"","op1type":"str","op2type":"nul","duration":"-5","extend":false,"overrideDelay":false,"units":"s","reset":"off","bytopic":"all","topic":"topic","outputs":1,"x":340,"y":2060,"wires":[["e1258e34.dc422"]]},{"id":"678bce7f.e89eb","type":"switch","z":"b2502674.296df8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"},{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":110,"y":2120,"wires":[["4b52dc29.0f03c4"],["b06742b7.dfb3","9151ca7.cd79e38"],["14933bf0.f9f884"]]},{"id":"60e3a22e.32f56c","type":"api-call-service","z":"b2502674.296df8","name":"sonos snapshot","server":"c215ffdf.5f364","version":1,"debugenabled":false,"service_domain":"sonos","service":"snapshot","entityId":"media_player.kontor_klinik","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":480,"y":2180,"wires":[["e9cd4da4.befc9"]]},{"id":"14933bf0.f9f884","type":"trigger","z":"b2502674.296df8","name":"trigger","op1":"trigger Sonos snapshot","op2":"0","op1type":"str","op2type":"str","duration":"0","extend":false,"overrideDelay":false,"units":"ms","reset":"off","bytopic":"all","topic":"payload","outputs":1,"x":290,"y":2180,"wires":[["60e3a22e.32f56c"]]},{"id":"b06742b7.dfb3","type":"api-call-service","z":"b2502674.296df8","name":"sonos restore","server":"c215ffdf.5f364","version":1,"debugenabled":false,"service_domain":"sonos","service":"restore","entityId":"media_player.kontor_klinik","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":300,"y":2120,"wires":[["bb184d66.372d9"]]},{"id":"bb184d66.372d9","type":"debug","z":"b2502674.296df8","name":"lukket","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":490,"y":2120,"wires":[]},{"id":"8966bc81.3d6c5","type":"debug","z":"b2502674.296df8","name":"åben","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":850,"y":2040,"wires":[]},{"id":"e1258e34.dc422","type":"api-call-service","z":"b2502674.296df8","name":"volume set","server":"c215ffdf.5f364","version":1,"debugenabled":false,"service_domain":"media_player","service":"volume_set","entityId":"media_player.kontor_klinik, media_player.badevaerelse_2","data":"{\"volume_level\":\"0.5\"}","dataType":"json","mergecontext":"50","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":550,"y":2060,"wires":[["4392c658.5fef28"]]},{"id":"4392c658.5fef28","type":"api-call-service","z":"b2502674.296df8","name":"message","server":"c215ffdf.5f364","version":1,"debugenabled":false,"service_domain":"tts","service":"cloud_say","entityId":"media_player.kontor_klinik, media_player.badevaerelse_2","data":"{\"message\":\"bryggersdøren er åben\",\"language\":\"da-DK\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":700,"y":2040,"wires":[["8966bc81.3d6c5"]]},{"id":"4b52dc29.0f03c4","type":"delay","z":"b2502674.296df8","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":280,"y":1980,"wires":[["9151ca7.cd79e38"]]},{"id":"2b71259b.49ad7a","type":"inject","z":"b2502674.296df8","name":"open","props":[{"p":"payload"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":90,"y":2000,"wires":[["678bce7f.e89eb"]]},{"id":"2ae8a8da.24c158","type":"inject","z":"b2502674.296df8","name":"closed","props":[{"p":"payload"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":110,"y":2200,"wires":[["678bce7f.e89eb"]]},{"id":"e9cd4da4.befc9","type":"debug","z":"b2502674.296df8","name":"snapshot","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":720,"y":2180,"wires":[]},{"id":"c215ffdf.5f364","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]