This shows you the topic’s incoming messages and simulates what the hardware device will subscribe to. Once the device receives the setTemp message it will grab the temperature value and change the temperature value of the device. The resetRoom topic will be subscribed to by multiple devices within the hotel room such as the shades, thermostat, and television/smart plug.
This workshop walked you through the creation of an Alexa Skill and the IoT Core architecture. This enables you to build more complex architectures using this as a foundation.