Dynamic iFrame?

type: custom:card-templater
card:
  type: iframe
  url_template: >-
    https://embed.waze.com/iframe?zoom=14&lat={{state_attr('sensor.geocode_destination','latitude')}}&lon={{state_attr('sensor.geocode_destination','longitude')}}&pin=1&desc=1
  aspect_ratio: 50%
entities:
  - entity: sensor.geocode_destination

genius!
i initially didnt think it was working because the edit page preview didnt render it. But upon save, it worked a treat.

really appreciate you taking the time to answer.

2 Likes