choose:
- conditions:
- condition: template
value_template: |2-
{% set person =
states.person|selectattr('attributes.user_id','eq',trigger.event.context.user_id)|first%}
{{ 'Joachim' in person.attributes.friendly_name }}
sequence:
- service: notify.mobile_app_gsm_joachim
data:
title: test
message: Joachim optie1 heeft de tag in ruimte 1 gescanned
does not work for me