This glowed at random to attract pet's attention (3,7)
I believe the answer is:
dog whistle
'attract pet's attention' is the definition.
I don't know anything about this answer so I can't judge whether this works.
'this glowed at random' is the wordplay.
'at random' is an anagram indicator.
'this'+'glowed'='thisglowed'
'thisglowed' anagrammed gives 'DOG WHISTLE'.
'to' is the link.
Can you help me to learn more?
I've seen this clue in The Guardian.
Want a hint initially instead of a full solution?
Install my app