Changing template sensor icon based on state [UI Helper]

Welcome to the community… A bit of advice to start.

Please check out the following guidelines

Reviving Solved threads isn’t ideal…