Many of the light fixtures in older homes are activated by pulling a cord or chain attached to the fixture.…