Using variables for Ikea light bulb in automations

Format your code properly: How to help us help you - or How to ask a good question