Get History: 'Triggered By' data

Hi Community –
I’ve been trying to find a way to get the history of a specific entity, however it seems impossible to retrieve who triggered each event. I get the following JSON but the ‘triggered by’ data as shown in the HAAS UI is not there:

{
      "entity_id": "light.sonoff_family_bathroom_downlights",
      "state": "on",
      "attributes": {
        "color_mode": "brightness",
        "brightness": 64,
        "friendly_name": "Sonoff Family Bathroom Downlights"
      },
      "last_changed": "2022-11-10T16:54:04.855103+00:00",
      "last_updated": "2022-11-10T16:54:04.855103+00:00"
    }

Any suggestions?

You might be able to pull it from the Global variables under the Context Data.

1 Like

Thanks WallyR –it did the trick! Thanks for your guidance.