Holders with built-in electrical component with switch operated by engagement or disengagement of coupling