The variable trigger.name should give the friendly name of the entity if it has one, else it will default to the entity ID. However, your trigger is currently set to fire on every state and attribute change of 4 sensors and set to single mode… that will likely cause the automation to error. At a bare minimum, you should limit the triggers to state changes by setting an empty to or from value, but it might also be worthwhile to set to automation mode to either queued or parallel