Can someone advise what I might have wrong here. Even when the state shows me “Cory Work” it displays the “?” picture.
entity_picture_template: >
{% if is_state('states.device_tracker.life360_cory.attributes.address', 'home') %}
'/local/home blue.jpg'
{% elif is_state('states.device_tracker.life360_cory.attributes.address', 'Cory Work') %}
'/local/Stefanini.jpg'
{% else %}
'/local/Question Mark.JPG'
{% endif %}