TP-Link Kasa lights will not change color via rule

Can you use the code fences on your post, please so that we can read your code, thanks