Changed addDevice to addLight which creates a new light object from an address and a name.