@DessertBesom wrote:
Is it possible to use Jinja in Lovelace views? The goal is to have different picture urls, based on the sensor state. This one does not work.
- type: picture image: > {% if is_state('binary_sensor.test', 'on') %} https://url-a.com/test.jpg {% else %} https://url-b.com/test.jpg {% endif %}
As a alternative, can I overwrite the url in a automation?
Posts: 3
Participants: 2