{% set entry_list =
'08:b6:xx:xx:xx:e6;presence_az_e-7007e4;-81
4b:75:18:xx:xx:xx;Galaxy Watch4 (FKXF);-82
54:d2:xx:xx:xx:ad;Nuki_1C4705AD;-56' %}
{% set pos = entry_list.find('Galaxy Watch4') %}
{% set pos2 = entry_list[pos:].find('\n') %}
{{ entry_list[pos:pos+pos2].split(';')[1] }}
I’m not sure this is the most efficient way of extracting it but hopefully this helps as a starter