str() method of component also prints state (OPEN/CLOSED)