# I am using this as a trigger and I want to check that the return source exists. platform: state entity_id: - sensor.signal_message_received attribute: source condition: template value_template: "{{ trigger.to_state.attributes.source != none }}"