I had managed to customize a picture element in lovelace which shows the state of all my switches and sensors. Now I am trying to take a snapshot of the picture element into a PNG or JPG file so that I can send over in telegram. Has anyone tried similar stuff before ?