code: def add(self, plm, device, stateType, stateName, group, defaultValue=None):
          
          self._stateList[group] = stateType(plm, device, stateName, group,
                                             defaultValue=defaultValue)
docs: Add a state to the StateList.