Use automation to set an entity's value based on input from another template sensor

What is that entity specifically? (and always try to use entity ID to target it instead of device ID for reasons I’ll link to later)

If it’s not something you can set, maybe you just create your own template sensor to store the result and use that in your display /automation etc. Instead?