I would like to automate my master bedroom. I have a open close sensor on the door and a smart bulb in the lamp. I am using Smartthings as a base for all my automations. What I want to do is after sunset, when the door opens the light comes on and when the door opens again the light goes out. Any help would be appreciated. To some this may sound pretty mundane but I am new to this and Smartthings can't quite do it.