Template sensor state not updated on trigger but looks like it should

Because limited templates I believe. There is no set command there.

You are working with static and know values, so I would try setting a template_variable section, and create a variable that is the target you are looking for an trigger off of that.

Trigger_Variables - variables that are available when attaching a trigger.