I just realise that I’ve used another way to get it work :
- In addition to HA, I’ve added a php server container
docker run -d -p 8097:80 --name my-dd -v /html/dd:/var/www/html example/php-apache
May be you have allready one…
- Create your php page like that :
<!DOCTYPE html>
<html>
<body>
<iframe src="https://evergreenps.nutrislice.com/menu/columbia-valley/lunch/".strftime("%Y-%m-%d")
width="xxx"
height="xxx" >
</iframe>
</body>
</html>
- Put it in your iframe
card:
type: iframe
url: http://192.168.x.x:8097/yourpagename.php
I tried it, it works like that.
You just have to adapt your iframe size