Fixes bug in WriteDeviceStateRequest decoding.