Patent attributes
A technology is described for operating a device shadowing service that manages multi-step device state transitions. An example method may include executing a state change listing that includes a set of state transition commands that change a state of a device to a desired state, wherein a first state transition command included in the state change listing that instructs the device to assume a first state may be executed. Thereafter, an indication that the device has assumed the first state may be received. In response, a second state transition command included in the state change listing that sends instructions to the device to assume a second state may be executed. Thereafter, an indication that the device has assumed the second state may be received. A recorded state of a device representation that represents the state of the device may be updated to indicate the second state.