Announcement to handle multiple sensors but indicate which one triggered?

I am cleaning up after RBoys left and want to create an automation that alerts me via speaker to a door being opened.
I have set up the automation to work when the sensor is opened and it will announce over speakers, but how do I get it to announce the specific sensor that was opened without having to do a separate automation for each door/window?
Is there a way to put a variable in the speaker statement that will do this?