Here is a little background info before I get into the actual incident. Every day my boss walks past my office and turns my lights on after i have asked him repeatedly not to. This has been on going for over 2 years. Its not like I am sitting in the dark, my office has 2 large windows and plenty of natural light coming in. The lights just bother my eyes and I find it annoying to have them on while the sun is still out. He flips on the lights whenever he walks by and says, " you shouldn't work in the dark, its bad for your eyes". This happens more than once a day sometimes. I just get up and turn them back off after he walks away.

So yesterday i was already frustrated with another employee that has been making a lot of mistakes that i then need to clean up and do damage control with the customers that are being affected. This effectively doubles my work load for the day. I had a headache already from this and then he walked by and turned my lights on and said, " it's bad for your eyes to work in the dark". So at that point i had enough shit to deal with and I snapped at him, " I am an adult I can decide what level of lighting is appropriate for myself. If I need a babysitter to tell me something like this why do you trust me to get my job done and fix other peoples dumb ass mistakes with minimal oversight. Turn the fucking lights back off I have a headache and just dont need to deal with this on top of it." He said no, then told me to come see him at the end of the day. I just got up and turned the lights off like usual and went about my day.

We had a discussion at the end of the day and he said that I couldnt speak to him like that whether or not any other employees were around and that I needed to respect him as my boss. I agreed and said that he also needed to respect me as an employee and as a person. 

That's where it was left, and things seem to be normal as we are both pretty reasonable and we both came to an agreement. When i told other people they said I was being a dick and should have just let it go. This is my usual course of action he just happened to do it when I was having a bad day already and that was just the straw that broke the camels back. I agree that it probably wasnt the best decision to do it considering he is my boss but AITA for it?