MQTT Sensor with Wildcard - obtain topic

I have a wildcard mqtt sensor which is receiving URLs from multiple cameras. Each camera is a sub part of the topic:
CameraEvents/Garage/event

With my sensor set up as CameraEvents/+/event. Is the actual posted topic for the sensor recorded anywhere so that I can parse the topic for use? or do I need to update my payload.

I don’t think it is available in an MQTT sensor.

However, there’s no reason you couldn’t define a trigger-based template sensor instead, and use an MQTT trigger. Then you would have trigger.topic available to use in templates, as mentioned here.

I endedr up a sensor for each.

Incidentally a group of these sensors (the message is a url) wouldn’t update or trigger on the group.