jcallaghan / home-assistant-config

My Home Assistant configuration & documentation.
https://www.jcallaghan.com/
MIT License
175 stars 8 forks source link

Outhouse lighting #68

Closed jcallaghan closed 4 years ago

jcallaghan commented 4 years ago

Background

I have a small outhouse where I keep our bikes and other garden stuff. Until recently I've had a small USB charged LED light in there for when I needed to find something. I recently found an electric spur which I fitted an outdoor socket too.

Objective

Install a light that is powered by the outdoor socket and create an automation to turn the light on and off when the door contact sensor is open and closed.

Ingredients

jcallaghan commented 4 years ago

This is the inspection light fitting.

image