Need help with sensor icon color based on state

did u make it?