Hi all
I am senior (age) newbie to this and having fun with HA so far with thanks to community for resolving some issues
Here is my current issue
I am trying to show traffic cam in my city and have setup the following rest sensor to get the image url
- platform: rest
method: GET
name: “STCamera”
resource: https://api.data.gov.sg/v1/transport/traffic-images
scan_interval: 600
value_template: >-
‘{{value_json[“items”][0][“cameras”][10].image }}’
The sensor shows the url of the said image and updates it
So how do I show this image on a lovelace dashboard.![st-camera|472x262]
Another challenge I might face is that camera 10 is not always the same camera. I can get the camera_id but then how to show that image in value_json