Embed iframe in lovelace with templated parameters

i want to embed waze iframe in lovelace:

- type: iframe
        url: https://embed.waze.com/iframe?zoom=14&lat=??????&lon=??????
        aspect_ratio: 75%

i want the lat and lon values to be pulled from a state of a sensor - how do i do that?

I would also like to do this. Did you ever figure out a solution?