Automation, mqtt, and lovelace

Hi guys.
I’m trying to trigger events from my camera that support MQTT.
All is new to me but I’ve been able to setup the MQTT.
Initially I was thinking that for Presence detection i could have done a binary swith or a sensor but I’ve not been very good in the implementation :frowning: (was a good idea?)

So I move to automation and I correctly setup the event to trigger on the MQTT event, the condition to check the value I expect, and the action is a message on my Phone.

I woudl like to create a sort of “Virtual switch” or something to monitor the event in lovelace, How can I do this? Some guide I can check?

Ale