Dynamic image from sensor value

Templates are not supported everywhere by default. But there are options.

You could probably do it using a markdown card using an image tag ![Image](http://url/a.png)

If not, then either of these custom cards will do it.