ericlfg/homeAuto-example — pull request #1 by jayproulx (2014-03-07 15:52:11+00:00)
Title: Tidy the data structure and interaction for the lights

Rather than creating an arbitrary length for the list of lights, lets
make it static (you can’t automatically add/remove lights from a room,
but you CAN turn the lights that you have on and off).

Associating the list of lights with the room makes sense in this case
because lights aren’t usually shared among rooms, so they really
“belong” to a particular room.