I'm trying to get a script built. I want to check if a variable exist and include it if it does. Just really struggling to figure out the formatting. Something like
script:
sequence:
target:
entity_id: "{{ entity }}"
{% if variable is defined %}
data: "{{ variable }}"
{% endif %}
https://www.tomshardware.com/news/raspberry-pi-used-to-rob-atm
There’s more than one way to get your cut of the Pi.
https://www.tomshardware.com/news/raspberry-pi-used-to-rob-atm
There’s more than one way to get your cut of the Pi.
@Otkaz
@lemmy.world