In the Internet of Things (IoT) paradigm, context state information plays a critical role in advancing the development of adaptive pervasive applications. Pervasive services and context-aware computing are emerging as the next computing paradigms in which infrastructure and services are seamlessly available anywhere, anytime, and in any format. The IoT paradigm raises new opportunities and demands on the underlying systems, in particular, the need to have systems that are adaptive and context-aware using context state information. In this paper, we introduce a new adaptive context state design technique to model context-aware applications that are sensitive to context state information changes. Each context change event is captured, interpreted and reacted to so that applications and users use only the functionality and adaptability needs that are solutions to their needs. The solution is modeled using Finite State Machine (FSM) and semantic localization so that context state information within the IoT paradigm is aligned to events. The semantic localization process precisely estimates the proximity location of the user along with the quality of context (QoC) attributes using the Bluetooth cell-based approach. This semantic information is useful in determining and inferring the user activities in a location. The QoC attributes are used to determine the confidence of the user location and range of the Bluetooth beacons within the IoT domain. This will, in turn, be used to determine whether the user is in the location or not. The alignment technique in our model represents the proper and new solution concerning functionality and adaptability needs expressed by other user applications in the IoT environment. The experimental scenario results indicate that a user can continue to enjoy their daily activities while the IoT application adapts continuously to their changing needs and notifying service providers of the changes according to the events of the user.