I want to get “friendly_name” of any “entity_id” from domain “switch” if it triggered by platform: event.
And i don’t want to list all of them (switch.entity_id) into trigger.
If get friendly_name of trigger list, i got it.
' {{ trigger.to_state.attributes.friendly_name }} was {{ trigger.to_state.state }} '